From: Dr. David von Oheimb Date: Wed, 7 Jul 2021 12:14:01 +0000 (+0200) Subject: apps/x509.c: Remove legacy call to OBJ_create() X-Git-Tag: openssl-3.2.0-alpha1~2060 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51024f75591d00a52dd867906a763b4e2107e288;p=thirdparty%2Fopenssl.git apps/x509.c: Remove legacy call to OBJ_create() Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz Reviewed-by: David von Oheimb (Merged from https://github.com/openssl/openssl/pull/18900) --- diff --git a/apps/x509.c b/apps/x509.c index ccada5dee04..a7b01edb093 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -782,9 +782,6 @@ int x509_main(int argc, char **argv) if (out == NULL) goto end; - if (!noout || text || next_serial) - OBJ_create("2.99999.3", "SET.ex3", "SET x509v3 extension 3"); - if (alias) X509_alias_set1(x, (unsigned char *)alias, -1);