do_ext_i2d(): unwrap a line
authortb <tb@openbsd.org>
Tue, 18 Jun 2024 05:19:01 +0000 (05:19 +0000)
committertb <tb@openbsd.org>
Tue, 18 Jun 2024 05:19:01 +0000 (05:19 +0000)
lib/libcrypto/x509/x509_conf.c

index 189bf64..30cf0b9 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509_conf.c,v 1.5 2023/02/16 08:38:17 tb Exp $ */
+/* $OpenBSD: x509_conf.c,v 1.6 2024/06/18 05:19:01 tb Exp $ */
 /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 1999.
  */
@@ -196,8 +196,7 @@ do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid, int crit,
        /* Convert internal representation to DER */
        if (method->it) {
                ext_der = NULL;
-               ext_len = ASN1_item_i2d(ext_struc, &ext_der,
-                   method->it);
+               ext_len = ASN1_item_i2d(ext_struc, &ext_der, method->it);
                if (ext_len < 0)
                        goto merr;
        } else {