fix non DTLS USER_IO cb

This commit is contained in:
toddouska
2013-03-14 09:16:47 -07:00
parent 2e980423ec
commit bb103561ae

View File

@ -376,7 +376,9 @@ int InitSSL_Ctx(CYASSL_CTX* ctx, CYASSL_METHOD* method)
/* user will set */
ctx->CBIORecv = NULL;
ctx->CBIOSend = NULL;
#ifdef CYASSL_DTLS
ctx->CBIOCookie = NULL;
#endif
#endif
ctx->partialWrite = 0;
ctx->verifyCallback = 0;