From 2e6b472ace0b7a062f09c3baaabd7fb81fedf6e0 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 15 Sep 2014 15:22:13 -0700 Subject: [PATCH] init secure r state --- src/internal.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/internal.c b/src/internal.c index 8860beaea..c61216fe9 100644 --- a/src/internal.c +++ b/src/internal.c @@ -1772,6 +1772,11 @@ int InitSSL(CYASSL* ssl, CYASSL_CTX* ctx) #endif /* NO_RSA */ #endif /* HAVE_PK_CALLBACKS */ +#ifdef HAVE_SECURE_RENEGOTIATION + ssl->secureR_state.secure_renegotation = 0; + ssl->secureR_state.doing_secure_renegotation = 0; +#endif /* HAVE_SECURE_RENEGOTIATION */ + /* all done with init, now can return errors, call other stuff */ /* increment CTX reference count */