forked from wolfSSL/wolfssl
Fix: Handle both WC_NULL_CIPHER_TYPE and NULL_CIPHER_TYPE for OpenSSL coexistence
Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
This commit is contained in:
@ -1059,7 +1059,11 @@ int wolfSSL_EVP_CipherUpdate(WOLFSSL_EVP_CIPHER_CTX *ctx,
|
||||
}
|
||||
|
||||
switch (ctx->cipherType) {
|
||||
#ifdef OPENSSL_COEXIST
|
||||
case WC_NULL_CIPHER_TYPE:
|
||||
#else
|
||||
case NULL_CIPHER_TYPE:
|
||||
#endif
|
||||
XMEMCPY(out, in, inl);
|
||||
*outl = inl;
|
||||
return WOLFSSL_SUCCESS;
|
||||
|
Reference in New Issue
Block a user