mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-02-04 02:35:04 +01:00
Patches
1. Define Timeval in callbacks.h if the file sys/time.h is missing. 2. When picking the correct strtok() function, take into account MINGW64. 3. In the example server, changed the call to SSL_accept_ex() as it doesn't exist. Using wolfSSL_accept_ex(). Only a problem when setting WOLFSSL_CALLBACKS. 4. PickHashSigAlgo() is missing a ; when WOLFSSL_CALLBACKS is set.
This commit is contained in:
@@ -120,7 +120,7 @@ static int NonBlockingSSL_Accept(SSL* ssl)
|
||||
#ifndef WOLFSSL_CALLBACKS
|
||||
int ret = SSL_accept(ssl);
|
||||
#else
|
||||
int ret = SSL_accept_ex(ssl, srvHandShakeCB, srvTimeoutCB, srvTo);
|
||||
int ret = wolfSSL_accept_ex(ssl, srvHandShakeCB, srvTimeoutCB, srvTo);
|
||||
#endif
|
||||
int error = SSL_get_error(ssl, 0);
|
||||
SOCKET_T sockfd = (SOCKET_T)SSL_get_fd(ssl);
|
||||
@@ -163,7 +163,7 @@ static int NonBlockingSSL_Accept(SSL* ssl)
|
||||
#ifndef WOLFSSL_CALLBACKS
|
||||
ret = SSL_accept(ssl);
|
||||
#else
|
||||
ret = SSL_accept_ex(ssl,
|
||||
ret = wolfSSL_accept_ex(ssl,
|
||||
srvHandShakeCB, srvTimeoutCB, srvTo);
|
||||
#endif
|
||||
error = SSL_get_error(ssl, 0);
|
||||
|
||||
Reference in New Issue
Block a user