]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
x509/sign: in debugging mode print the signature algorithm
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 26 Jul 2017 15:50:33 +0000 (17:50 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 4 Aug 2017 07:38:27 +0000 (09:38 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/x509/sign.c

index c081a92c006c2abea972789b86c08f69d6ac9947..13a1b52644a0af6648307d8f2fbff9f342ccaaf9 100644 (file)
@@ -158,6 +158,8 @@ _gnutls_x509_pkix_sign(ASN1_TYPE src, const char *src_name,
        if (se == NULL)
                return gnutls_assert_val(GNUTLS_E_UNSUPPORTED_SIGNATURE_ALGORITHM);
 
+       _gnutls_debug_log("signing structure using %s\n", se->name);
+
        result = _gnutls_x509_write_sign_params(src, name, se, &params);
        if (result < 0) {
                gnutls_assert();