From: tb Date: Sat, 16 Dec 2023 12:36:14 +0000 (+0000) Subject: Remove call to ASN1_STRING_TABLE_cleanup() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=47079c01f18b6176040b56ffb07bb2b22608808a;p=openbsd Remove call to ASN1_STRING_TABLE_cleanup() In a few minutes, the string table will no longer have anything to clean up and ASN1_STRING_TABLE_cleanup() will push an error on the stack. So remove this pointless call in the still too complicated OPENSSL_cleanup(). ok jsing --- diff --git a/lib/libcrypto/crypto_init.c b/lib/libcrypto/crypto_init.c index 2b39d2604bc..85a8e77b71d 100644 --- a/lib/libcrypto/crypto_init.c +++ b/lib/libcrypto/crypto_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto_init.c,v 1.12 2023/11/19 15:46:09 tb Exp $ */ +/* $OpenBSD: crypto_init.c,v 1.13 2023/12/16 12:36:14 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck * @@ -83,7 +83,6 @@ OPENSSL_cleanup(void) CRYPTO_cleanup_all_ex_data(); EVP_cleanup(); - ASN1_STRING_TABLE_cleanup(); X509V3_EXT_cleanup(); X509_PURPOSE_cleanup(); X509_TRUST_cleanup();