提交 3132ab8c 编写于 作者: D Dr. Stephen Henson

Add #ifdefs to some devcrypto code

上级 bfd7bb3e
...@@ -57,6 +57,8 @@ ...@@ -57,6 +57,8 @@
#include <openssl/evp.h> #include <openssl/evp.h>
#include "engine_int.h" #include "engine_int.h"
#ifdef OPENSSL_OPENBSD_DEV_CRYPTO
static void load_ciphers(ENGINE *e) static void load_ciphers(ENGINE *e)
{ {
ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc()); ENGINE_add_cipher(e,EVP_dev_crypto_des_ede3_cbc());
...@@ -78,3 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void) ...@@ -78,3 +80,4 @@ ENGINE *ENGINE_openbsd_dev_crypto(void)
return engine; return engine;
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册