diff options
author | tb <> | 2024-06-18 05:19:01 +0000 |
---|---|---|
committer | tb <> | 2024-06-18 05:19:01 +0000 |
commit | 0e4db269b0dc9d6214566ee52144d704388535f4 (patch) | |
tree | f79efd23fdb959bcdc688a466489fe13e8eb3625 /src | |
parent | 96263d212975ff1d13b522dfb6807d0eb19bb792 (diff) | |
download | openbsd-0e4db269b0dc9d6214566ee52144d704388535f4.tar.gz openbsd-0e4db269b0dc9d6214566ee52144d704388535f4.tar.bz2 openbsd-0e4db269b0dc9d6214566ee52144d704388535f4.zip |
do_ext_i2d(): unwrap a line
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c index 189bf64405..30cf0b981c 100644 --- a/src/lib/libcrypto/x509/x509_conf.c +++ b/src/lib/libcrypto/x509/x509_conf.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_conf.c,v 1.5 2023/02/16 08:38:17 tb Exp $ */ | 1 | /* $OpenBSD: x509_conf.c,v 1.6 2024/06/18 05:19:01 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 | */ |
@@ -196,8 +196,7 @@ do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid, int crit, | |||
196 | /* Convert internal representation to DER */ | 196 | /* Convert internal representation to DER */ |
197 | if (method->it) { | 197 | if (method->it) { |
198 | ext_der = NULL; | 198 | ext_der = NULL; |
199 | ext_len = ASN1_item_i2d(ext_struc, &ext_der, | 199 | ext_len = ASN1_item_i2d(ext_struc, &ext_der, method->it); |
200 | method->it); | ||
201 | if (ext_len < 0) | 200 | if (ext_len < 0) |
202 | goto merr; | 201 | goto merr; |
203 | } else { | 202 | } else { |