diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2014-08-07 16:51:50 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2014-08-07 16:51:50 +0000 |
| commit | 6846a6dfd06216c71f1c9d1da1fa957d0f9ce016 (patch) | |
| tree | b4301f78efe63b5c59d963d87744b03588432bd4 /apps/ca.c | |
| parent | f2c8f580eb02fc9ff060de5b242c825113c7a065 (diff) | |
Import 0.9.8zb.vendor/openssl/0.9.8zb
Diffstat (limited to 'apps/ca.c')
| -rw-r--r-- | apps/ca.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/ca.c b/apps/ca.c index 651c5a648afc..45c3183b9b29 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -1582,12 +1582,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 @@ -2751,6 +2753,9 @@ char *make_revocation_str(int rev_type, char *rev_arg) revtm = X509_gmtime_adj(NULL, 0); + if (!revtm) + return NULL; + i = revtm->length + 1; if (reason) i += strlen(reason) + 1; |
