Remove X509_PURPOSE_cleanup() call in OPENSSL_cleanup()
authortb <tb@openbsd.org>
Sat, 6 Jan 2024 17:43:39 +0000 (17:43 +0000)
committertb <tb@openbsd.org>
Sat, 6 Jan 2024 17:43:39 +0000 (17:43 +0000)
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

index 85a8e77..3715c76 100644 (file)
@@ -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 <beck@openbsd.org>
  *
@@ -84,7 +84,6 @@ OPENSSL_cleanup(void)
        EVP_cleanup();
 
        X509V3_EXT_cleanup();
-       X509_PURPOSE_cleanup();
        X509_TRUST_cleanup();
        X509_VERIFY_PARAM_table_cleanup();