From: Dr. Stephen Henson Date: Thu, 29 May 2008 23:47:40 +0000 (+0000) Subject: Load CryptoAPI engine if supported. X-Git-Tag: OpenSSL_0_9_8i~81 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=203ac694e3511a0b7cccfe0feb26a4a5d7d58f2f;p=oweals%2Fopenssl.git Load CryptoAPI engine if supported. --- diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c index 8599046717..46f35fa2ad 100644 --- a/crypto/engine/eng_all.c +++ b/crypto/engine/eng_all.c @@ -107,6 +107,9 @@ void ENGINE_load_builtin_engines(void) #if defined(__OpenBSD__) || defined(__FreeBSD__) ENGINE_load_cryptodev(); #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 3ec59338ff..5c6e7063fa 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -334,6 +334,9 @@ void ENGINE_load_ubsec(void); void ENGINE_load_cryptodev(void); void ENGINE_load_padlock(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. */