Fix: Use WC_NULL_CIPHER_TYPE instead of NULL_CIPHER_TYPE for OpenSSL coexistence

Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
This commit is contained in:
Devin AI
2025-02-28 16:04:50 +00:00
parent 7fb5e25179
commit 36233656ef

View File

@@ -1059,7 +1059,7 @@ int wolfSSL_EVP_CipherUpdate(WOLFSSL_EVP_CIPHER_CTX *ctx,
} }
switch (ctx->cipherType) { switch (ctx->cipherType) {
case NULL_CIPHER_TYPE: case WC_NULL_CIPHER_TYPE:
XMEMCPY(out, in, inl); XMEMCPY(out, in, inl);
*outl = inl; *outl = inl;
return WOLFSSL_SUCCESS; return WOLFSSL_SUCCESS;