Load CryptoAPI engine if supported.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 29 May 2008 23:47:40 +0000 (23:47 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 29 May 2008 23:47:40 +0000 (23:47 +0000)
crypto/engine/eng_all.c
crypto/engine/engine.h

index 8599046717a5d23bcae3bd61ef56f51b9d1c7022..46f35fa2ad786d0aab1dd52cc7933de01cd66343 100644 (file)
@@ -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
        }
 
index 3ec59338ffd1ba6d6ebc7e5ce5711cf6c718a61d..5c6e7063fab3f59c2119f742e082f6aef7f152b9 100644 (file)
@@ -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. */