More diagnostics.
authorBen Laurie <ben@openssl.org>
Tue, 3 Aug 1999 10:19:02 +0000 (10:19 +0000)
committerBen Laurie <ben@openssl.org>
Tue, 3 Aug 1999 10:19:02 +0000 (10:19 +0000)
crypto/asn1/t_x509.c

index 6f26427..42f4d49 100644 (file)
@@ -158,6 +158,7 @@ int X509_print(BIO *bp, X509 *x)
        if (pkey == NULL)
                {
                BIO_printf(bp,"%12sUnable to load Public Key\n","");
+               ERR_print_errors(bp);
                }
        else
 #ifndef NO_RSA