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 6f26427c3ecf75906674df9a1e16466416e355fb..42f4d498cfa5d788b1a417a51946936a11c38fe3 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