forked from wolfSSL/wolfssl
Fixes to resolve a few make check issues.
This commit is contained in:
@@ -63,29 +63,32 @@ extern "C" {
|
||||
|
||||
/* TLS Features */
|
||||
#define WOLFSSL_TLS13
|
||||
#define WOLFSSL_BASE64_ENCODE
|
||||
#define WOLFSSL_USE_ALIGN
|
||||
#define HAVE_ENCRYPT_THEN_MAC
|
||||
#define HAVE_TLS_EXTENSIONS
|
||||
#define HAVE_ENCRYPT_THEN_MAC
|
||||
#define HAVE_SUPPORTED_CURVES
|
||||
#define HAVE_EXTENDED_MASTER
|
||||
#define HAVE_ONE_TIME_AUTH /* TLS extension used with Poly1305 */
|
||||
#define HAVE_CRL
|
||||
|
||||
/* TLS Resumption */
|
||||
#define HAVE_SECURE_RENEGOTIATION
|
||||
#define HAVE_SERVER_RENEGOTIATION_INFO
|
||||
#define HAVE_SESSION_TICKET
|
||||
|
||||
/* Other Features */
|
||||
#define WOLFSSL_USE_ALIGN
|
||||
#define WOLFSSL_BASE64_ENCODE
|
||||
//#define HAVE_CRL
|
||||
#define HAVE_EXT_CACHE
|
||||
#define WOLFSSL_VERIFY_CB_ALL_CERTS
|
||||
#define WOLFSSL_ALWAYS_VERIFY_CB
|
||||
#define WOLFSSL_DH_EXTRA /* DHE ASN.1 key import/export support */
|
||||
|
||||
#if 0
|
||||
#define HAVE_SECURE_RENEGOTIATION
|
||||
#define HAVE_SERVER_RENEGOTIATION_INFO
|
||||
#endif
|
||||
|
||||
#ifndef WOLFSSL_WOLFSSH /* ifndef check required due to configure already generating flag */
|
||||
#ifndef WOLFSSL_WOLFSSH /* ifndef check required due to configure already generating flag */
|
||||
#define WOLFSSL_WOLFSSH
|
||||
#endif
|
||||
|
||||
/* Compatibility Layer */
|
||||
#define OPENSSL_EXTRA
|
||||
#if 0
|
||||
#define OPENSSL_ALL
|
||||
#endif
|
||||
@@ -147,18 +150,23 @@ extern "C" {
|
||||
#define WOLFSSL_SHA3
|
||||
#define HAVE_HKDF
|
||||
|
||||
/* Disabled Algorithms */
|
||||
/* Disabled Features */
|
||||
#define NO_OLD_TLS
|
||||
#define NO_PSK
|
||||
|
||||
/* Disabled Algorithms */
|
||||
#define NO_RC4
|
||||
#define NO_MD4
|
||||
#define NO_MD5
|
||||
#define NO_DES3
|
||||
#define NO_PSK
|
||||
#define NO_DSA
|
||||
#define WOLFSSL_NO_SHAKE256
|
||||
#define NO_RABBIT
|
||||
#define NO_HC128
|
||||
#define WOLFSSL_NO_SHAKE256
|
||||
|
||||
#if 0
|
||||
#define DEBUG_WOLFSSL
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@@ -49,8 +49,10 @@ static int err_sys(const char* msg)
|
||||
}
|
||||
#endif /* WOLFSSL_SCTP && WOLFSSL_DTLS */
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
#if defined(WOLFSSL_SCTP) && defined(WOLFSSL_DTLS)
|
||||
int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
|
||||
|
||||
|
@@ -38,8 +38,10 @@
|
||||
#include <unistd.h>
|
||||
#endif /* WOLFSSL_SCTP */
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
#ifdef WOLFSSL_SCTP
|
||||
int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
|
||||
|
||||
|
@@ -49,8 +49,10 @@ static int err_sys(const char* msg)
|
||||
}
|
||||
#endif /* WOLFSSL_SCTP && WOLFSSL_DTLS */
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
#if defined(WOLFSSL_SCTP) && defined(WOLFSSL_DTLS)
|
||||
int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
|
||||
|
||||
|
@@ -36,8 +36,10 @@
|
||||
#include <unistd.h>
|
||||
#endif /* WOLFSSL_SCTP */
|
||||
|
||||
int main()
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
#ifdef WOLFSSL_SCTP
|
||||
int sd = socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);
|
||||
|
||||
|
Reference in New Issue
Block a user