mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Sniffer
1. Added the null-cipher to the list of supported bulk ciphers.
This commit is contained in:
@@ -2267,6 +2267,12 @@ static int Decrypt(SSL* ssl, byte* output, const byte* input, word32 sz)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_NULL_CIPHER
|
||||||
|
case wolfssl_cipher_null:
|
||||||
|
XMEMCPY(output, input, sz);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Trace(BAD_DECRYPT_TYPE);
|
Trace(BAD_DECRYPT_TYPE);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
Reference in New Issue
Block a user