CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/07/26 13:50:06

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

Log message:
Do not pass input length <= 0 to the cipher handlers

Input length < 0 is an error and input length == 0 can result in
strange effects in some ciphers, except in CCM mode, which is extra
special.

Based on OpenSSL 420cb707 by Matt Caswell and Richard Levitte

found by & ok jsing

Reply via email to