From 9d4d87791947ae7ccfa3d6d8aa0769f62862a842 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Mon, 13 May 2019 11:29:14 -0700 Subject: [PATCH] Sniffer 1. Added the null-cipher to the list of supported bulk ciphers. --- src/sniffer.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sniffer.c b/src/sniffer.c index 712e8b555..71cd4d9ae 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -2267,6 +2267,12 @@ static int Decrypt(SSL* ssl, byte* output, const byte* input, word32 sz) break; #endif + #ifdef HAVE_NULL_CIPHER + case wolfssl_cipher_null: + XMEMCPY(output, input, sz); + break; + #endif + default: Trace(BAD_DECRYPT_TYPE); ret = -1;