diff options
| author | tb <> | 2023-12-16 12:36:14 +0000 |
|---|---|---|
| committer | tb <> | 2023-12-16 12:36:14 +0000 |
| commit | 79b1a65c524da073f3e5ffa32c873ffc2fa9667c (patch) | |
| tree | 3ed263fa3578e67aff384950acadd04d94f643f5 | |
| parent | bf181541021eedaddc0f1cd9bd41da06284915e5 (diff) | |
| download | openbsd-79b1a65c524da073f3e5ffa32c873ffc2fa9667c.tar.gz openbsd-79b1a65c524da073f3e5ffa32c873ffc2fa9667c.tar.bz2 openbsd-79b1a65c524da073f3e5ffa32c873ffc2fa9667c.zip | |
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
| -rw-r--r-- | src/lib/libcrypto/crypto_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/crypto_init.c b/src/lib/libcrypto/crypto_init.c index 2b39d2604b..85a8e77b71 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.12 2023/11/19 15:46:09 tb Exp $ */ | 1 | /* $OpenBSD: crypto_init.c,v 1.13 2023/12/16 12:36:14 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2018 Bob Beck <beck@openbsd.org> |
| 4 | * | 4 | * |
| @@ -83,7 +83,6 @@ OPENSSL_cleanup(void) | |||
| 83 | CRYPTO_cleanup_all_ex_data(); | 83 | CRYPTO_cleanup_all_ex_data(); |
| 84 | EVP_cleanup(); | 84 | EVP_cleanup(); |
| 85 | 85 | ||
| 86 | ASN1_STRING_TABLE_cleanup(); | ||
| 87 | X509V3_EXT_cleanup(); | 86 | X509V3_EXT_cleanup(); |
| 88 | X509_PURPOSE_cleanup(); | 87 | X509_PURPOSE_cleanup(); |
| 89 | X509_TRUST_cleanup(); | 88 | X509_TRUST_cleanup(); |
