No need to include anything on systems that do not have /dev/crypt
This commit is contained in:
@@ -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>
|
||||
|
||||
/****************************************************/
|
||||
|
Reference in New Issue
Block a user