summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-07-18 11:23:50 +0000
committerBodo Möller <bodo@openssl.org>2002-07-18 11:23:50 +0000
commit7e6617611f833385257dcfa11dc5e4d1aedf1591 (patch)
treec14a61fa33f6e85cf5bc597e566a660981aad772 /apps
parentca6dde5d3d90d1c04450939fee1ceabec96b8b46 (diff)
downloadopenssl-7e6617611f833385257dcfa11dc5e4d1aedf1591.tar.gz
Fix bug introduced with revision 1.95 when this filed was modified to
use the new X509_CRL_set_issuer_name() function: The CRL issuer should be X509_get_subject_name(x509), not X509_get_issuer_name(x509). Submitted by: Juergen Lesny <lesnyj@informatik.tu-muenchen.de> typo
Diffstat (limited to 'apps')
-rw-r--r--apps/ca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/ca.c b/apps/ca.c
index db46520696..cbb1a05293 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1454,13 +1454,13 @@ bad:
}
if ((crldays == 0) && (crlhours == 0))
{
- BIO_printf(bio_err,"cannot lookup how long until the next CRL is issuer\n");
+ BIO_printf(bio_err,"cannot lookup how long until the next CRL is issued\n");
goto err;
}
if (verbose) BIO_printf(bio_err,"making CRL\n");
if ((crl=X509_CRL_new()) == NULL) goto err;
- if (!X509_CRL_set_issuer_name(crl, X509_get_issuer_name(x509))) goto err;
+ if (!X509_CRL_set_issuer_name(crl, X509_get_subject_name(x509))) goto err;
tmptm = ASN1_TIME_new();
if (!tmptm) goto err;