From c201239d02b63eb33dd068d1aa1f0bcd382baebb Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 9 Mar 2015 09:39:50 -0700 Subject: [PATCH] missed 2 now redundant inits on CTX --- src/internal.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/internal.c b/src/internal.c index a28e228f1..5f11aca24 100644 --- a/src/internal.c +++ b/src/internal.c @@ -360,16 +360,13 @@ int InitSSL_Ctx(WOLFSSL_CTX* ctx, WOLFSSL_METHOD* method) ctx->heap = ctx; /* defaults to self */ ctx->timeout = WOLFSSL_SESSION_TIMEOUT; - ctx->partialWrite = 0; - ctx->verifyCallback = 0; - if (InitMutex(&ctx->countMutex) < 0) { WOLFSSL_MSG("Mutex error on CTX init"); return BAD_MUTEX_E; } #ifdef HAVE_ECC - ctx->eccTempKeySz = ECDHE_SIZE; + ctx->eccTempKeySz = ECDHE_SIZE; #endif #ifndef WOLFSSL_USER_IO