diff options
author | 2015-02-06 08:30:23 +0000 | |
---|---|---|
committer | 2015-02-06 08:30:23 +0000 | |
commit | bdb3203319c116e7ce03edb52e5cf9d07b6e6ec6 (patch) | |
tree | 54d5810bf04e660b987098d9eb04e8be1362db30 /lib/libssl/src/ssl/d1_srvr.c | |
parent | better error reporting for .br .fi .nf with arguments (diff) | |
download | wireguard-openbsd-bdb3203319c116e7ce03edb52e5cf9d07b6e6ec6.tar.xz wireguard-openbsd-bdb3203319c116e7ce03edb52e5cf9d07b6e6ec6.zip |
Bring back the horrible API that is get_cipher_by_char/put_cipher_by_char.
This API was intended to be an internal only, however like many things in
OpenSSL, it is exposed externally and parts of the software ecosystem are
now using it since there is no real alternative within the public API.
ok doug@, tedu@ and reluctantly miod@
Diffstat (limited to 'lib/libssl/src/ssl/d1_srvr.c')
-rw-r--r-- | lib/libssl/src/ssl/d1_srvr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/src/ssl/d1_srvr.c b/lib/libssl/src/ssl/d1_srvr.c index 057d92109cd..82f846d236a 100644 --- a/lib/libssl/src/ssl/d1_srvr.c +++ b/lib/libssl/src/ssl/d1_srvr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_srvr.c,v 1.46 2014/12/15 00:46:53 doug Exp $ */ +/* $OpenBSD: d1_srvr.c,v 1.47 2015/02/06 08:30:23 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -147,6 +147,8 @@ const SSL_METHOD DTLSv1_server_method_data = { .ssl_dispatch_alert = dtls1_dispatch_alert, .ssl_ctrl = dtls1_ctrl, .ssl_ctx_ctrl = ssl3_ctx_ctrl, + .get_cipher_by_char = ssl3_get_cipher_by_char, + .put_cipher_by_char = ssl3_put_cipher_by_char, .ssl_pending = ssl3_pending, .num_ciphers = ssl3_num_ciphers, .get_cipher = dtls1_get_cipher, |