mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Don't always include wolfssl/openssl/bn.h
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/ec.h>
|
#include <openssl/ec.h>
|
||||||
#include <openssl/hmac.h>
|
#include <openssl/hmac.h>
|
||||||
|
#include <openssl/bn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* make sure old names are disabled */
|
/* make sure old names are disabled */
|
||||||
@@ -81,6 +82,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
|
#elif (defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL))
|
||||||
|
#include <wolfssl/openssl/bn.h>
|
||||||
#include <wolfssl/openssl/hmac.h>
|
#include <wolfssl/openssl/hmac.h>
|
||||||
|
|
||||||
/* We need the old SSL names */
|
/* We need the old SSL names */
|
||||||
@@ -91,8 +93,6 @@
|
|||||||
#undef NO_OLD_WC_NAMES
|
#undef NO_OLD_WC_NAMES
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/* Needed for WOLFSSL_RSA struct */
|
|
||||||
#include <wolfssl/openssl/bn.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Reference in New Issue
Block a user