From a5f689168ecba027bfa3ec954eb6f0db004f80d5 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Tue, 1 Dec 2015 09:18:21 -0800 Subject: [PATCH] fix call to IsEncryptionOn for session tickets --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 1e3cd3aba..1d076cd49 100644 --- a/src/internal.c +++ b/src/internal.c @@ -12688,7 +12688,7 @@ int DoSessionTicket(WOLFSSL* ssl, ssl->session.ticketLen = 0; } - if (IsEncryptionOn(ssl)) { + if (IsEncryptionOn(ssl, 0)) { *inOutIdx += ssl->keys.padSz; }