forked from wolfSSL/wolfssl
fix non DTLS USER_IO cb
This commit is contained in:
@ -376,7 +376,9 @@ int InitSSL_Ctx(CYASSL_CTX* ctx, CYASSL_METHOD* method)
|
|||||||
/* user will set */
|
/* user will set */
|
||||||
ctx->CBIORecv = NULL;
|
ctx->CBIORecv = NULL;
|
||||||
ctx->CBIOSend = NULL;
|
ctx->CBIOSend = NULL;
|
||||||
ctx->CBIOCookie = NULL;
|
#ifdef CYASSL_DTLS
|
||||||
|
ctx->CBIOCookie = NULL;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ctx->partialWrite = 0;
|
ctx->partialWrite = 0;
|
||||||
ctx->verifyCallback = 0;
|
ctx->verifyCallback = 0;
|
||||||
|
Reference in New Issue
Block a user