CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/07/02 00:19:46

Modified files:
        lib/libcrypto/evp: evp_cipher.c 

Log message:
EVP_CipherInit_ex(): normalize EVP_CIPHER_CTX_ctrl() error check

While EVP_CIPHER_CTX_ctrl() can return a negative value this can't
actually happen currently as all ciphers with EVP_CIPH_CTRL_INIT set
normalize the EVP_CTRL_INIT return value to boolean in their ctrl()
methods. Still, this check looks weird in grep, so align it.

ok beck kenjiro

Reply via email to