diff options
author | tb <> | 2024-05-11 18:48:47 +0000 |
---|---|---|
committer | tb <> | 2024-05-11 18:48:47 +0000 |
commit | ba65e7820ed23aea4eb31c6a5f0e3004d6814a96 (patch) | |
tree | 8382f95f68e6c31abc8e9569667ca367c5834622 /src | |
parent | dc588f2a7fc97ba2d903c1933d60eb84d6957f36 (diff) | |
download | openbsd-ba65e7820ed23aea4eb31c6a5f0e3004d6814a96.tar.gz openbsd-ba65e7820ed23aea4eb31c6a5f0e3004d6814a96.tar.bz2 openbsd-ba65e7820ed23aea4eb31c6a5f0e3004d6814a96.zip |
Unwrap a line
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_lib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_lib.c b/src/lib/libcrypto/x509/x509_lib.c index c5151d407e..1772692f2b 100644 --- a/src/lib/libcrypto/x509/x509_lib.c +++ b/src/lib/libcrypto/x509/x509_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_lib.c,v 1.17 2024/03/02 10:35:32 tb Exp $ */ | 1 | /* $OpenBSD: x509_lib.c,v 1.18 2024/05/11 18:48:47 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 | */ |
@@ -180,8 +180,7 @@ X509V3_EXT_d2i(X509_EXTENSION *ext) | |||
180 | return NULL; | 180 | return NULL; |
181 | p = ext->value->data; | 181 | p = ext->value->data; |
182 | if (method->it) | 182 | if (method->it) |
183 | return ASN1_item_d2i(NULL, &p, ext->value->length, | 183 | return ASN1_item_d2i(NULL, &p, ext->value->length, method->it); |
184 | method->it); | ||
185 | return method->d2i(NULL, &p, ext->value->length); | 184 | return method->d2i(NULL, &p, ext->value->length); |
186 | } | 185 | } |
187 | LCRYPTO_ALIAS(X509V3_EXT_d2i); | 186 | LCRYPTO_ALIAS(X509V3_EXT_d2i); |