No need to include anything on systems that do not have /dev/crypt
This commit is contained in:
parent
f559f31bef
commit
66aa856698
@ -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 <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -65,16 +75,6 @@
|
|||||||
/* Maybe this is needed? ... */
|
/* Maybe this is needed? ... */
|
||||||
#include "../evp/evp_locl.h"
|
#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>
|
#include <crypto/cryptodev.h>
|
||||||
|
|
||||||
/****************************************************/
|
/****************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user