From d60e25f216aa14981cbcae98be231b0146e7ff2f Mon Sep 17 00:00:00 2001 From: kenjiro <> Date: Sun, 8 Feb 2026 22:33:14 +0000 Subject: openssl x509: Remove legacy call to OBJ_create() The OID 2.99999.3 is not required for x509 output handling and is not referenced elsewhere. Remove the OBJ_create() call. ok tb jsing --- src/usr.bin/openssl/x509.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/usr.bin') diff --git a/src/usr.bin/openssl/x509.c b/src/usr.bin/openssl/x509.c index 64f1a6df3e..819d426925 100644 --- a/src/usr.bin/openssl/x509.c +++ b/src/usr.bin/openssl/x509.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509.c,v 1.43 2026/02/08 22:25:16 kenjiro Exp $ */ +/* $OpenBSD: x509.c,v 1.44 2026/02/08 22:33:14 kenjiro Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1014,9 +1014,6 @@ x509_main(int argc, char **argv) if (xca == NULL) goto end; } - if (!cfg.noout || cfg.text || cfg.next_serial) { - OBJ_create("2.99999.3", "SET.ex3", "SET x509v3 extension 3"); - } if (cfg.alias != NULL) { if (!X509_alias_set1(x, (unsigned char *)cfg.alias, -1)) goto end; -- cgit v1.2.3-55-g6feb