From 90b96776cdf064bc4ac5831e81fc5192b10d303e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 31 May 2008 22:53:16 +0000 Subject: [PATCH 1/1] More CryptoAPI engine code from stable branch. --- crypto/engine/eng_all.c | 3 +++ crypto/engine/engine.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c index fb01ca8972..80edead3ba 100644 --- a/crypto/engine/eng_all.c +++ b/crypto/engine/eng_all.c @@ -108,6 +108,9 @@ void ENGINE_load_builtin_engines(void) #ifndef OPENSSL_NO_GMP ENGINE_load_gmp(); #endif +#endif +#if defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_NO_CAPIENG) + ENGINE_load_capi(); #endif } diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index ed966a82c5..8dfc4561d1 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -340,6 +340,9 @@ void ENGINE_load_gost(void); #endif void ENGINE_load_cryptodev(void); void ENGINE_load_builtin_engines(void); +#ifndef OPENSSL_NO_CAPIENG +void ENGINE_load_capi(void); +#endif /* Get and set global flags (ENGINE_TABLE_FLAG_***) for the implementation * "registry" handling. */ -- 2.34.1