diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-12-20 00:46:44 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-12-20 00:46:44 +0000 |
commit | 5755cab49dd5a0d69f69e07c0bd6bdba175308cf (patch) | |
tree | fa12d588216eedd56cafe085401eb225e4214ccd /crypto/x509v3 | |
parent | 975842f9fb216e453b67c19ffe4509837fb59ccb (diff) |
Fixes to OCSP print code.
Don't try to print request certificates if signature is not present.
Remove unnecessary test for certificates being NULL.
Fix typos in printed output.
Tidy up output.
Fix for typo in OCSP_SERVICELOC ASN1 template.
Also give a bit more info in CHANGES about the ASN1 revision.
Diffstat (limited to 'crypto/x509v3')
-rw-r--r-- | crypto/x509v3/v3_ocsp.c | 2 | ||||
-rw-r--r-- | crypto/x509v3/v3_prn.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_ocsp.c b/crypto/x509v3/v3_ocsp.c index a10bfa97f4..c65dbfa9f7 100644 --- a/crypto/x509v3/v3_ocsp.c +++ b/crypto/x509v3/v3_ocsp.c @@ -229,7 +229,7 @@ static int i2r_ocsp_serviceloc(X509V3_EXT_METHOD *method, void *in, BIO *bp, int OCSP_SERVICELOC *a = in; ACCESS_DESCRIPTION *ad; - if (BIO_printf(bp, "%*ssIissuer: ", ind, "") <= 0) goto err; + if (BIO_printf(bp, "%*sIssuer: ", ind, "") <= 0) goto err; if (X509_NAME_print_ex(bp, a->issuer, 0, XN_FLAG_ONELINE) <= 0) goto err; for (i = 0; i < sk_ACCESS_DESCRIPTION_num(a->locator); i++) { diff --git a/crypto/x509v3/v3_prn.c b/crypto/x509v3/v3_prn.c index 475c48098c..62ec1f1db3 100644 --- a/crypto/x509v3/v3_prn.c +++ b/crypto/x509v3/v3_prn.c @@ -112,7 +112,7 @@ int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int inde if(method->it) ext_str = ASN1_item_d2i(NULL, &p, ext->value->length, method->it); else ext_str = method->d2i(NULL, &p, ext->value->length); - if(!ext_str) unknown_ext_print(out, ext, flag, indent, 1); + if(!ext_str) return unknown_ext_print(out, ext, flag, indent, 1); if(method->i2s) { if(!(value = method->i2s(method, ext_str))) { |