mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
OpenVPN changes
Include <wolfssl/options.h> in settings.h for OpenVPN Additional API fixes
This commit is contained in:
@ -3531,7 +3531,7 @@ fi
|
|||||||
|
|
||||||
if test "$ENABLED_OPENVPN" = "yes"
|
if test "$ENABLED_OPENVPN" = "yes"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DES_ECB -DHAVE_EX_DATA"
|
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DES_ECB -DHAVE_EX_DATA -DWOLFSSL_KEY_GEN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#ifndef WOLFSSL_OPENSSL_ERR_
|
#ifndef WOLFSSL_OPENSSL_ERR_
|
||||||
#define WOLFSSL_OPENSSL_ERR_
|
#define WOLFSSL_OPENSSL_ERR_
|
||||||
|
|
||||||
#include <wolfssl/openssl/ssl.h>
|
#include <wolfssl/wolfcrypt/logging.h>
|
||||||
|
|
||||||
/* err.h for openssl */
|
/* err.h for openssl */
|
||||||
#define ERR_load_crypto_strings wolfSSL_ERR_load_crypto_strings
|
#define ERR_load_crypto_strings wolfSSL_ERR_load_crypto_strings
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#define WOLFSSL_RSA_H_
|
#define WOLFSSL_RSA_H_
|
||||||
|
|
||||||
#include <wolfssl/openssl/bn.h>
|
#include <wolfssl/openssl/bn.h>
|
||||||
|
#include <wolfssl/openssl/err.h>
|
||||||
#include <wolfssl/wolfcrypt/types.h>
|
#include <wolfssl/wolfcrypt/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@ -31,6 +31,11 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* include the options.h file ourselves for OpenVPN */
|
||||||
|
#ifdef ENABLE_CRYPTO_WOLFSSL
|
||||||
|
#include <wolfssl/options.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Uncomment next line if using IPHONE */
|
/* Uncomment next line if using IPHONE */
|
||||||
/* #define IPHONE */
|
/* #define IPHONE */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user