chacha20_poly1305_cleanup() should return 1
authortb <tb@openbsd.org>
Tue, 30 Aug 2022 19:33:26 +0000 (19:33 +0000)
committertb <tb@openbsd.org>
Tue, 30 Aug 2022 19:33:26 +0000 (19:33 +0000)
commit9a36bc948a2e44d373123d1a3c7836cdd506a1e9
tree9ebf96e6232e64d14f8059a1d5d8e1232256d3e8
parenta29ddfd5ea76f5c564c0bf78f48af3e0cc656c0d
chacha20_poly1305_cleanup() should return 1

Otherwise EVP_CIPHER_CTX_cleanup() leaks, as spotted by the ASAN CI.

ok jsing
lib/libcrypto/evp/e_chacha20poly1305.c