Commit 1c27eb7e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub Committed by Oleksandr Byelkin

Do not compile socket IO code in WolfSSL

We use own IO callbacks from server code anyway.
parent f61a9806
......@@ -13,6 +13,7 @@
#define SESSION_CERT
#define KEEP_OUR_CERT
#define WOLFSSL_STATIC_RSA
#define WOLFSSL_USER_IO
#define WC_RSA_BLINDING
#define HAVE_TLS_EXTENSIONS
#define HAVE_AES_ECB
......
......@@ -148,6 +148,10 @@ int vio_socket_io_wait(Vio *vio, enum enum_vio_io_event event)
#define VIO_DONTWAIT 0
#endif
#ifndef SOCKET_EAGAIN
#define SOCKET_EAGAIN SOCKET_EWOULDBLOCK
#endif
/*
returns number of bytes read or -1 in case of an error
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment