@@ -208,7 +208,6 @@ else()
208208 set (CMAKE_REQUIRED_INCLUDES "${OPENSSL_INCLUDE_DIR} " )
209209endif ()
210210
211- check_symbol_exists (OSSL_LIB_CTX_freeze "openssl/crypto.h" HAVE_OSSL_LIB_CTX_FREEZE )
212211check_symbol_exists (SSL_set1_dnsname "openssl/ssl.h" HAVE_SSL_SET1_DNSNAME )
213212
214213set (run_tests CACHE STRING "List of tests to run" )
@@ -223,12 +222,6 @@ if( OPENSSL_VERSION VERSION_GREATER_EQUAL 3 )
223222 evp_fetch "" "" "-q"
224223 CACHE STRING "Post-quantum option for evp_fetch" )
225224 list (APPEND run_opts run_evp_fetch_pqs)
226- if (HAVE_OSSL_LIB_CTX_FREEZE)
227- set (run_evp_fetch_freeze
228- evp_fetch "" "" "-F"
229- CACHE STRING "Freeze LIB_CTX for evp_fetch" )
230- list (APPEND run_opts run_evp_fetch_freeze)
231- endif ()
232225
233226 add_executable (providerdoall providerdoall.c )
234227 target_link_libraries (providerdoall PRIVATE perf )
@@ -245,12 +238,6 @@ if( OPENSSL_VERSION VERSION_GREATER_EQUAL 3 )
245238 evp_cipher "" "" "-a AES-128-CBC" "-a AES-256-CBC"
246239 CACHE STRING "Encryption algorithms for evp_cipher" )
247240 list (APPEND run_opts run_evp_cipher_algorithms)
248- if (HAVE_OSSL_LIB_CTX_FREEZE)
249- set (run_evp_cipher_freeze
250- evp_cipher "" "" "-f"
251- CACHE STRING "Freeze LIB_CTX for evp_cipher" )
252- list (APPEND run_opts run_evp_cipher_freeze)
253- endif ()
254241
255242 add_executable (evp_mac evp_mac.c )
256243 target_link_libraries (evp_mac PRIVATE perf )
@@ -267,12 +254,6 @@ if( OPENSSL_VERSION VERSION_GREATER_EQUAL 3 )
267254 evp_kdf "" "" "-o evp_shared" "-o evp_isolated" "-o deprecated_shared" "-o deprecated_isolated"
268255 CACHE STRING "Modes of operation for evp_kdf" )
269256 list (APPEND run_opts run_evp_kdf_operations)
270- if (HAVE_OSSL_LIB_CTX_FREEZE)
271- set (run_evp_kdf_freeze
272- evp_kdf "" "" "-f"
273- CACHE STRING "Freeze LIB_CTX for evp_kdf" )
274- list (APPEND run_opts run_evp_kdf_freeze)
275- endif ()
276257
277258 add_executable (evp_rand evp_rand.c )
278259 target_link_libraries (evp_rand PRIVATE perf )
@@ -281,12 +262,6 @@ if( OPENSSL_VERSION VERSION_GREATER_EQUAL 3 )
281262 evp_rand "" "" "-o evp_isolated" "-o evp_shared"
282263 CACHE STRING "Modes of operation for evp_rand" )
283264 list (APPEND run_opts run_evp_rand_operations)
284- if (HAVE_OSSL_LIB_CTX_FREEZE)
285- set (run_evp_rand_freeze
286- evp_rand "" "" "-f"
287- CACHE STRING "Freeze LIB_CTX for evp_rand" )
288- list (APPEND run_opts run_evp_rand_freeze)
289- endif ()
290265
291266 add_executable (evp_pkey evp_pkey.c )
292267 target_link_libraries (evp_pkey PRIVATE perf )
@@ -435,12 +410,6 @@ if( NOT WITH_OPENSSL_FORK )
435410 evp_hash "" "" "-a SHA1" "-a SHA224" "-a SHA256" "-a SHA384" "-a SHA512"
436411 CACHE STRING "Digest hash algorithms for evp_hash" )
437412 list (APPEND run_opts run_evp_hash_algorithms)
438- if (HAVE_OSSL_LIB_CTX_FREEZE)
439- set (run_evp_hash_freeze
440- evp_hash "" "" "-f"
441- CACHE STRING "Freeze LIB_CTX for evp_hash" )
442- list (APPEND run_opts run_evp_hash_freeze)
443- endif ()
444413endif ()
445414
446415set (run_add_version_dep ON
0 commit comments