Unify various EVP_*{Update,Final}*() wrappers
authortb <tb@openbsd.org>
Fri, 1 Dec 2023 06:53:18 +0000 (06:53 +0000)
committertb <tb@openbsd.org>
Fri, 1 Dec 2023 06:53:18 +0000 (06:53 +0000)
commitcb1a0184f290125c434f28fdaba11eccb8257e05
tree17381612fc52d5e83af47a6a8b7a417480a1a5ab
parent24a8aa201fe7850fc3e91041a5fdf4904536e61a
Unify various EVP_*{Update,Final}*() wrappers

The correct way of wrapping foo() is 'int ret; ret = foo(); return ret;'
because 'return foo();' would be too simple... Also unify branching from
EVP_Cipher* into EVP_Encrypt* EVP_Decrypt*.
lib/libcrypto/evp/evp_enc.c