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;