X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fca.c;h=2c7bf276463ad71da9a401c24c5571ac41934c97;hp=3b72d8668cb9f6617d5ec9e89ebf2dfabb005451;hb=6977c7e2baf291278aee7632f1a68581b7c4d1f9;hpb=e42c208235a86beee16ff0d0e6ca4e164a57d21a diff --git a/apps/ca.c b/apps/ca.c index 3b72d8668c..2c7bf27646 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -709,7 +709,7 @@ bad: ERR_clear_error(); #ifdef RL_DEBUG if (!p) - BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p); + BIO_printf(bio_err, "DEBUG: unique_subject undefined\n"); #endif #ifdef RL_DEBUG BIO_printf(bio_err, "DEBUG: configured unique_subject is %d\n", @@ -1628,12 +1628,14 @@ static int certify(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509, { ok=0; BIO_printf(bio_err,"Signature verification problems....\n"); + ERR_print_errors(bio_err); goto err; } if (i == 0) { ok=0; BIO_printf(bio_err,"Signature did not match the certificate request\n"); + ERR_print_errors(bio_err); goto err; } else @@ -2827,7 +2829,8 @@ char *make_revocation_str(int rev_type, char *rev_arg) return str; } -/* Convert revocation field to X509_REVOKED entry +/*- + * Convert revocation field to X509_REVOKED entry * return code: * 0 error * 1 OK