]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Print debugging information on error.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 30 May 2010 10:53:54 +0000 (12:53 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 3 Jun 2010 17:55:02 +0000 (19:55 +0200)
lib/x509/mpi.c

index 62f581f740eee4e5376cc2b7fe03c2afb6c68f03..0190480f27b8c2de557534945d57165ee7987ca8 100644 (file)
@@ -436,6 +436,7 @@ _gnutls_x509_write_sig_params (ASN1_TYPE dst, const char *dst_name,
   if (pk == NULL)
     {
       gnutls_assert ();
+      _gnutls_debug_log("Cannot find OID for sign algorithm pk: %d dig: %d\n", (int)pk_algorithm, (int)dig);
       return GNUTLS_E_INVALID_REQUEST;
     }