summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls12_record_layer.c
diff options
context:
space:
mode:
authortb <>2023-12-22 12:35:22 +0000
committertb <>2023-12-22 12:35:22 +0000
commitb838d1bcba85acb4024e74e7e78b02852d380ae9 (patch)
treedc5712bc527a6c0d2066ea53c4f13ae78d88a778 /src/lib/libssl/tls12_record_layer.c
parentbe0bb03b7cb6789b3ea101b1fa9906e3d34afc23 (diff)
downloadopenbsd-b838d1bcba85acb4024e74e7e78b02852d380ae9.tar.gz
openbsd-b838d1bcba85acb4024e74e7e78b02852d380ae9.tar.bz2
openbsd-b838d1bcba85acb4024e74e7e78b02852d380ae9.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/libssl/tls12_record_layer.c')
0 files changed, 0 insertions, 0 deletions