mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 05:04:41 +02:00
Improve WOLFSSL_USER_IO defaults
This commit is contained in:
@@ -6,7 +6,14 @@
|
||||
#error This user_settings.h header is only designed for Windows
|
||||
#endif
|
||||
|
||||
/* Optionally use custom IO, uncomment this line: */
|
||||
/* #define WOLFSSL_USER_IO */
|
||||
#ifdef WOLFSSL_USER_IO
|
||||
#define WOLFSSL_NO_SOCK
|
||||
#else
|
||||
#define USE_WOLFSSL_IO
|
||||
#endif
|
||||
|
||||
#define HAVE_AESGCM
|
||||
#define WOLFSSL_TLS13
|
||||
#define HAVE_HKDF
|
||||
|
@@ -1132,6 +1132,9 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
|
||||
#endif
|
||||
#endif
|
||||
#ifndef SOCKET_INVALID
|
||||
#ifndef INVALID_SOCKET
|
||||
#define INVALID_SOCKET ((SOCKET_T)(-1))
|
||||
#endif
|
||||
#define SOCKET_INVALID INVALID_SOCKET
|
||||
#endif
|
||||
#else
|
||||
|
Reference in New Issue
Block a user