mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-29 17:03:21 +02:00
allow user to set session timeout at compile time w/ CYASSL_SESSION_TIMEOUT
This commit is contained in:
+1
-1
@@ -380,7 +380,7 @@ int InitSSL_Ctx(CYASSL_CTX* ctx, CYASSL_METHOD* method)
|
||||
ctx->userdata = 0;
|
||||
#endif /* OPENSSL_EXTRA */
|
||||
|
||||
ctx->timeout = DEFAULT_TIMEOUT;
|
||||
ctx->timeout = CYASSL_SESSION_TIMEOUT;
|
||||
|
||||
#ifndef CYASSL_USER_IO
|
||||
ctx->CBIORecv = EmbedReceive;
|
||||
|
||||
Reference in New Issue
Block a user