mirror of https://github.com/getdnsapi/getdns.git
First step in dealing with OpenSSL 3.0 warnings
This commit is contained in:
parent
b181782e0e
commit
1748ca4c29
|
@ -340,6 +340,7 @@ check_include_file(openssl/engine.h HAVE_OPENSSL_ENGINE_H)
|
|||
check_include_file(openssl/bn.h HAVE_OPENSSL_BN_H)
|
||||
check_include_file(openssl/dsa.h HAVE_OPENSSL_DSA_H)
|
||||
check_include_file(openssl/rsa.h HAVE_OPENSSL_RSA_H)
|
||||
check_include_file(openssl/param_build.h HAVE_OPENSSL_PARAM_BUILD_H)
|
||||
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES} ${getdns_system_libs})
|
||||
check_function_exists(DSA_SIG_set0 HAVE_DSA_SIG_SET0)
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
#cmakedefine HAVE_OPENSSL_BN_H 1
|
||||
#cmakedefine HAVE_OPENSSL_DSA_H 1
|
||||
#cmakedefine HAVE_OPENSSL_RSA_H 1
|
||||
#cmakedefine HAVE_OPENSSL_PARAM_BUILD_H 1
|
||||
|
||||
#cmakedefine HAVE_DSA_SIG_SET0 1
|
||||
#cmakedefine HAVE_DSA_SET0_PQG 1
|
||||
|
@ -96,6 +97,8 @@
|
|||
|
||||
#cmakedefine HAVE_OPENSSL_INIT_CRYPTO 1
|
||||
|
||||
#cmakedefine HAVE_OSSL_PARAM_BLD_NEW 1
|
||||
|
||||
#cmakedefine HAVE_SSL_DANE_ENABLE 1
|
||||
#cmakedefine HAVE_DECL_SSL_CTX_SET1_CURVES_LIST 1
|
||||
#cmakedefine HAVE_DECL_SSL_SET1_CURVES_LIST 1
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
#ifdef USE_GOST
|
||||
|
||||
/** store GOST engine reference loaded into OpenSSL library */
|
||||
#ifdef OPENSSL_NO_ENGINE
|
||||
#if defined(OPENSSL_NO_ENGINE) || OPENSSL_VERSION_NUMBER > 0x30000000
|
||||
int
|
||||
gldns_key_EVP_load_gost_id(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue