summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-01-06 17:43:39 +0000
committertb <>2024-01-06 17:43:39 +0000
commit14dc9f0ac6e30d0b904958f23f45f9fd5f20300f (patch)
tree171b869c71a3a4df92dbd71ea2647c4aa12cea50
parentce013cb97fcfce766becec4de468e051cfe769c2 (diff)
downloadopenbsd-14dc9f0ac6e30d0b904958f23f45f9fd5f20300f.tar.gz
openbsd-14dc9f0ac6e30d0b904958f23f45f9fd5f20300f.tar.bz2
openbsd-14dc9f0ac6e30d0b904958f23f45f9fd5f20300f.zip
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.
-rw-r--r--src/lib/libcrypto/crypto_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c
index 85a8e77b71..3715c7619d 100644
--- a/src/lib/libcrypto/crypto_init.c
+++ b/src/lib/libcrypto/crypto_init.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto_init.c,v 1.13 2023/12/16 12:36:14 tb Exp $ */ 1/* $OpenBSD: crypto_init.c,v 1.14 2024/01/06 17:43:39 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -84,7 +84,6 @@ OPENSSL_cleanup(void)
84 EVP_cleanup(); 84 EVP_cleanup();
85 85
86 X509V3_EXT_cleanup(); 86 X509V3_EXT_cleanup();
87 X509_PURPOSE_cleanup();
88 X509_TRUST_cleanup(); 87 X509_TRUST_cleanup();
89 X509_VERIFY_PARAM_table_cleanup(); 88 X509_VERIFY_PARAM_table_cleanup();
90 89