diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-07 04:17:12 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-07 04:17:12 +0000 |
commit | 6d29a9704aba54def8826d638eaddfd891518358 (patch) | |
tree | 1d4c3b6e24ab3f7ad9df70b368793e422d8317d6 /lib/libssl/test/test_aesni | |
parent | 708f5c9fd038f1f7bb73644b64f95e1a58c24ef6 (diff) |
Provide a SSL_CIPHER_get_by_value() function that allows a cipher to be
retrieved via its cipher suite value. A corresponding SSL_CIPHER_by_value()
function returns the cipher suite value for a given SSL_CIPHER. These
functions should mean that software does not need to resort to
put_cipher_by_char()/get_cipher_by_char() in order to locate a cipher.
Begrudgingly also provide a SSL_CIPHER_get_by_id() function that locates a
cipher via the internal cipher identifier. Unfortunately these have already
been leaked outside the library via SSL_CIPHER_by_id() and the various
SSL3_CK_* and TLS1_CK_* defines in the ssl3.h/tls1.h headers.
ok beck@ miod@
Diffstat (limited to 'lib/libssl/test/test_aesni')
0 files changed, 0 insertions, 0 deletions