diff options
author | tb <> | 2023-12-22 12:35:22 +0000 |
---|---|---|
committer | tb <> | 2023-12-22 12:35:22 +0000 |
commit | ceaa3ee99a03ab6937cc307a1b6bb2a60d08c2fa (patch) | |
tree | dc5712bc527a6c0d2066ea53c4f13ae78d88a778 /src/lib/libc | |
parent | f9a4150fae4744c1c4b3102e66a62a26ad7b9108 (diff) | |
download | openbsd-ceaa3ee99a03ab6937cc307a1b6bb2a60d08c2fa.tar.gz openbsd-ceaa3ee99a03ab6937cc307a1b6bb2a60d08c2fa.tar.bz2 openbsd-ceaa3ee99a03ab6937cc307a1b6bb2a60d08c2fa.zip |
Simplify some logic in EVP_EncryptInit_ex()
Pull up the EVP_R_NO_CIPHER_SET check that was hidden somewhere down in the
middle of the function. Handle the reuse case outside of the big non-NULL
cipher case for now. This looks a bit odd but relies on the invariant that
cipher_data is only set if the cipher is set. It will be reworked in a
subsequent commit.
ok jsing
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions