summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/ciphers/cipherstest.c
diff options
context:
space:
mode:
authorjsing <>2024-07-23 14:40:54 +0000
committerjsing <>2024-07-23 14:40:54 +0000
commit6861a5a72a0bd87259b9e40bd0a0f7c85fd11e9c (patch)
tree5d02fbe166341d303cc7117737100adbfbf744c2 /src/regress/lib/libssl/ciphers/cipherstest.c
parent9d00569d89dbe870d2bc630ceb14e42ee1807ec5 (diff)
downloadopenbsd-6861a5a72a0bd87259b9e40bd0a0f7c85fd11e9c.tar.gz
openbsd-6861a5a72a0bd87259b9e40bd0a0f7c85fd11e9c.tar.bz2
openbsd-6861a5a72a0bd87259b9e40bd0a0f7c85fd11e9c.zip
Remove get_cipher from SSL_METHOD.
Inline the get_cipher implementation (including the special handling for DTLS) in ssl_cipher_collect_ciphers() (the only consumer), remove the get_cipher member of SSL_METHOD and mop up dtls1_get_cipher(). ssl3_get_cipher() has always had a strange property of being a reverse index, which is relied on by the cipher list ordering code, since it currently assumes that high cipher suite values are preferable. Rather than complicating ssl3_get_cipher() (and regress), change the iteration order in ssl_cipher_collect_ciphers() to match what it requires. Lastly, rename ssl3_get_cipher() to be more descriptive. ok tb@
Diffstat (limited to 'src/regress/lib/libssl/ciphers/cipherstest.c')
0 files changed, 0 insertions, 0 deletions