From: Nikos Mavrogiannopoulos Date: Sun, 30 May 2010 10:53:54 +0000 (+0200) Subject: Print debugging information on error. X-Git-Tag: gnutls_2_11_3~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c80f335eb662ff41f20fcbde507404db67c48827;p=thirdparty%2Fgnutls.git Print debugging information on error. --- diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c index 62f581f740..0190480f27 100644 --- a/lib/x509/mpi.c +++ b/lib/x509/mpi.c @@ -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; }