Commit a5dffd58f3 for openssl.org
commit a5dffd58f3d22a4bea991ef1bd7f9b8ebaff8c84
Author: Tomas Mraz <tomas@openssl.foundation>
Date: Thu Aug 20 14:26:03 2026 +0200
cipher_overhead_test.c: Init libssl to sort the ciphers
Otherwise ssl3_get_cipher_by_id() cannot work properly.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Thu Aug 20 12:59:43 2026
Merged-from: https://github.com/openssl/openssl/pull/32443
diff --git a/test/cipher_overhead_test.c b/test/cipher_overhead_test.c
index d4b9d15437..553b44a507 100644
--- a/test/cipher_overhead_test.c
+++ b/test/cipher_overhead_test.c
@@ -101,6 +101,7 @@ static int dtls13_cipher_overhead(int idx)
int setup_tests(void)
{
+ OPENSSL_init_ssl(0, NULL);
ADD_TEST(cipher_overhead);
ADD_ALL_TESTS(dtls13_cipher_overhead, OSSL_NELEM(dtls13_ciphers));
return 1;