summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_clnt.c
diff options
context:
space:
mode:
authorjsing <>2015-02-06 08:30:23 +0000
committerjsing <>2015-02-06 08:30:23 +0000
commit970e6ec5cda1aae85293f7a4c40abbf0d9bc7457 (patch)
tree3d9e90980fb8319df5be140e688f4782d92d6aa1 /src/lib/libssl/d1_clnt.c
parenteba8dcd28b15b266761b836e8eeac404791cec35 (diff)
downloadopenbsd-970e6ec5cda1aae85293f7a4c40abbf0d9bc7457.tar.gz
openbsd-970e6ec5cda1aae85293f7a4c40abbf0d9bc7457.tar.bz2
openbsd-970e6ec5cda1aae85293f7a4c40abbf0d9bc7457.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 'src/lib/libssl/d1_clnt.c')
-rw-r--r--src/lib/libssl/d1_clnt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c
index 3687f5917c..c344c1bcdc 100644
--- a/src/lib/libssl/d1_clnt.c
+++ b/src/lib/libssl/d1_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_clnt.c,v 1.41 2014/12/14 16:19:38 jsing Exp $ */ 1/* $OpenBSD: d1_clnt.c,v 1.42 2015/02/06 08:30:23 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -146,6 +146,8 @@ const SSL_METHOD DTLSv1_client_method_data = {
146 .ssl_dispatch_alert = dtls1_dispatch_alert, 146 .ssl_dispatch_alert = dtls1_dispatch_alert,
147 .ssl_ctrl = dtls1_ctrl, 147 .ssl_ctrl = dtls1_ctrl,
148 .ssl_ctx_ctrl = ssl3_ctx_ctrl, 148 .ssl_ctx_ctrl = ssl3_ctx_ctrl,
149 .get_cipher_by_char = ssl3_get_cipher_by_char,
150 .put_cipher_by_char = ssl3_put_cipher_by_char,
149 .ssl_pending = ssl3_pending, 151 .ssl_pending = ssl3_pending,
150 .num_ciphers = ssl3_num_ciphers, 152 .num_ciphers = ssl3_num_ciphers,
151 .get_cipher = dtls1_get_cipher, 153 .get_cipher = dtls1_get_cipher,