From 3f6bef6371b2e286471e2ada6048c6e5670fef53 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Jun 2020 04:00:09 -0500 Subject: Update for OpenSSL >= 1.1.0 Signed-off-by: Timothy Pearson --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 91cf38c55..fb0b1617b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,11 +732,8 @@ if( WITH_PKCS ) tde_message_fatal( "PKCS is requested, but no OpenSC PKCS11 provider was found on your system" ) endif( NOT OPENSC_PKCS11_PROVIDER_FOUND ) pkg_search_module( SSL openssl ) - if( NOT SSL_FOUND OR SSL_VERSION VERSION_LESS "1.1" ) + if( SSL_FOUND ) set( HAVE_PKCS 1 ) - else( ) - set( WITH_PKCS OFF CACHE INTERNAL "PKCS support is not ready for OpenSSL >= 1.1" FORCE ) - message( WARNING "\nPKCS support is not ready for OpenSSL >= 1.1" ) endif( ) endif( ) -- cgit v1.2.1