From d6495eea6a92da32915bbc54414f1de2c4030b1e Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 6 Jan 2024 17:43:39 +0000 Subject: [PATCH] Remove X509_PURPOSE_cleanup() call in OPENSSL_cleanup() Since x509_purp.c r1.34 this is a noop since there is nothing to clean up anymore. Remove the last caller. --- lib/libcrypto/crypto_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/libcrypto/crypto_init.c b/lib/libcrypto/crypto_init.c index 85a8e77b71d..3715c7619da 100644 --- a/lib/libcrypto/crypto_init.c +++ b/lib/libcrypto/crypto_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto_init.c,v 1.13 2023/12/16 12:36:14 tb Exp $ */ +/* $OpenBSD: crypto_init.c,v 1.14 2024/01/06 17:43:39 tb Exp $ */ /* * Copyright (c) 2018 Bob Beck * @@ -84,7 +84,6 @@ OPENSSL_cleanup(void) EVP_cleanup(); X509V3_EXT_cleanup(); - X509_PURPOSE_cleanup(); X509_TRUST_cleanup(); X509_VERIFY_PARAM_table_cleanup(); -- 2.20.1