From 30baeaaeab4ea577c72d83009b0bfbf9d537df41 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 22 Apr 2009 17:36:45 +0000 Subject: [PATCH] CryptoAPI engine only exists on WIN32. --- crypto/engine/engine.h | 2 ++ util/libeay.num | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 0f4275ca3b..10b5d6787a 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -335,9 +335,11 @@ void ENGINE_load_nuron(void); void ENGINE_load_sureware(void); void ENGINE_load_ubsec(void); void ENGINE_load_padlock(void); +#ifdef OPENSSL_SYS_WIN32 #ifndef OPENSSL_NO_CAPIENG void ENGINE_load_capi(void); #endif +#endif #ifndef OPENSSL_NO_GMP void ENGINE_load_gmp(void); #endif diff --git a/util/libeay.num b/util/libeay.num index 387dc9e4dd..73b2bb73c2 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -3657,7 +3657,7 @@ ENGINE_set_ld_ssl_clnt_cert_fn 4044 EXIST:VMS:FUNCTION:ENGINE ENGINE_get_ssl_client_cert_function 4045 EXIST:!VMS:FUNCTION:ENGINE ENGINE_get_ssl_client_cert_fn 4045 EXIST:VMS:FUNCTION:ENGINE ENGINE_load_ssl_client_cert 4046 EXIST::FUNCTION:ENGINE -ENGINE_load_capi 4047 EXIST::FUNCTION:CAPIENG,ENGINE,STATIC_ENGINE +ENGINE_load_capi 4047 EXIST:WIN32:FUNCTION:CAPIENG,ENGINE,STATIC_ENGINE OPENSSL_isservice 4048 NOEXIST::FUNCTION: FIPS_dsa_sig_decode 4049 NOEXIST::FUNCTION: EVP_CIPHER_CTX_clear_flags 4050 NOEXIST::FUNCTION: -- 2.25.1