提交 66aa8566 编写于 作者: R Richard Levitte

No need to include anything on systems that do not have /dev/crypt

上级 f559f31b
......@@ -53,6 +53,16 @@
*
*/
#ifndef OPENSSL_OPENBSD_DEV_CRYPTO
void ENGINE_load_openbsd_dev_crypto(void)
{
/* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */
return;
}
#else /* OPENSSL_OPENBSD_DEV_CRYPTO */
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
......@@ -65,16 +75,6 @@
/* Maybe this is needed? ... */
#include "../evp/evp_locl.h"
#ifndef OPENSSL_OPENBSD_DEV_CRYPTO
void ENGINE_load_openbsd_dev_crypto(void)
{
/* This is a NOP unless OPENSSL_OPENBSD_DEV_CRYPTO is defined */
return;
}
#else /* OPENSSL_OPENBSD_DEV_CRYPTO */
#include <crypto/cryptodev.h>
/****************************************************/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册