diff options
author | tb <> | 2024-05-02 15:33:59 +0000 |
---|---|---|
committer | tb <> | 2024-05-02 15:33:59 +0000 |
commit | b7471a707d84ac22bacbbf9a540ce3d3cfa813c5 (patch) | |
tree | 806372bff8ae25be3e31ce025084babb435208bc /src | |
parent | 5a4fde52db4375162c05f77a21bc9fa7edaebbe0 (diff) | |
download | openbsd-b7471a707d84ac22bacbbf9a540ce3d3cfa813c5.tar.gz openbsd-b7471a707d84ac22bacbbf9a540ce3d3cfa813c5.tar.bz2 openbsd-b7471a707d84ac22bacbbf9a540ce3d3cfa813c5.zip |
Remove a useless OBJ_obj2nid() call from X509_CRL_print()
ok beck (as part of a larger diff)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/asn1/t_crl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/t_crl.c b/src/lib/libcrypto/asn1/t_crl.c index 1ff6ea02ad..39e04507ed 100644 --- a/src/lib/libcrypto/asn1/t_crl.c +++ b/src/lib/libcrypto/asn1/t_crl.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t_crl.c,v 1.24 2024/04/09 13:55:02 beck Exp $ */ | 1 | /* $OpenBSD: t_crl.c,v 1.25 2024/05/02 15:33:59 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -99,7 +99,6 @@ X509_CRL_print(BIO *out, X509_CRL *x) | |||
99 | if (l < 0 || l == LONG_MAX) | 99 | if (l < 0 || l == LONG_MAX) |
100 | goto err; | 100 | goto err; |
101 | BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l); | 101 | BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l); |
102 | i = OBJ_obj2nid(x->sig_alg->algorithm); | ||
103 | if (X509_signature_print(out, x->sig_alg, NULL) == 0) | 102 | if (X509_signature_print(out, x->sig_alg, NULL) == 0) |
104 | goto err; | 103 | goto err; |
105 | p = X509_NAME_oneline(X509_CRL_get_issuer(x), NULL, 0); | 104 | p = X509_NAME_oneline(X509_CRL_get_issuer(x), NULL, 0); |