diff options
author | tb <> | 2023-12-26 08:39:28 +0000 |
---|---|---|
committer | tb <> | 2023-12-26 08:39:28 +0000 |
commit | 36bb2ac5a296266e1cb29ed2ba5bab36231b3e10 (patch) | |
tree | 0257bc3ebee8b70ea150711c25c36ce114d10ea9 /src/lib/libc | |
parent | 300118cc12494f95fb30223002b6de69650702fe (diff) | |
download | openbsd-36bb2ac5a296266e1cb29ed2ba5bab36231b3e10.tar.gz openbsd-36bb2ac5a296266e1cb29ed2ba5bab36231b3e10.tar.bz2 openbsd-36bb2ac5a296266e1cb29ed2ba5bab36231b3e10.zip |
EVP_CipherInit_ex() merge two code paths
Clean up the cipher context unconditionally if the cipher is being set.
This allows doing the dance to retain the key wrap flag only once and
makes it more obvious that allocating the cipher data doesn't leak.
suggested by/ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions