summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_clnt.c
diff options
context:
space:
mode:
authorjsing <>2014-07-12 22:33:39 +0000
committerjsing <>2014-07-12 22:33:39 +0000
commit1576d117fd48c972306b2973f975d424551988e9 (patch)
treeac193b1a184864cbde82877d05b433080052c5d1 /src/lib/libssl/d1_clnt.c
parent929d339dda473f536b3f3af87fc016274b499e50 (diff)
downloadopenbsd-1576d117fd48c972306b2973f975d424551988e9.tar.gz
openbsd-1576d117fd48c972306b2973f975d424551988e9.tar.bz2
openbsd-1576d117fd48c972306b2973f975d424551988e9.zip
The correct name for EDH is DHE, likewise EECDH should be ECDHE.
Based on changes to OpenSSL trunk. ok beck@ miod@
Diffstat (limited to 'src/lib/libssl/d1_clnt.c')
-rw-r--r--src/lib/libssl/d1_clnt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_clnt.c b/src/lib/libssl/d1_clnt.c
index 004fd6e04f..552667f6c1 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.30 2014/07/12 13:11:53 jsing Exp $ */ 1/* $OpenBSD: d1_clnt.c,v 1.31 2014/07/12 22:33:39 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.
@@ -984,7 +984,7 @@ dtls1_send_client_key_exchange(SSL *s)
984 s->session->master_key, 984 s->session->master_key,
985 tmp_buf, sizeof tmp_buf); 985 tmp_buf, sizeof tmp_buf);
986 OPENSSL_cleanse(tmp_buf, sizeof tmp_buf); 986 OPENSSL_cleanse(tmp_buf, sizeof tmp_buf);
987 } else if (alg_k & (SSL_kEDH|SSL_kDHr|SSL_kDHd)) { 987 } else if (alg_k & (SSL_kDHE|SSL_kDHr|SSL_kDHd)) {
988 DH *dh_srvr, *dh_clnt; 988 DH *dh_srvr, *dh_clnt;
989 989
990 if (s->session->sess_cert->peer_dh_tmp != NULL) 990 if (s->session->sess_cert->peer_dh_tmp != NULL)
@@ -1037,7 +1037,7 @@ dtls1_send_client_key_exchange(SSL *s)
1037 DH_free(dh_clnt); 1037 DH_free(dh_clnt);
1038 1038
1039 /* perhaps clean things up a bit EAY EAY EAY EAY*/ 1039 /* perhaps clean things up a bit EAY EAY EAY EAY*/
1040 } else if (alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe)) { 1040 } else if (alg_k & (SSL_kECDHE|SSL_kECDHr|SSL_kECDHe)) {
1041 const EC_GROUP *srvr_group = NULL; 1041 const EC_GROUP *srvr_group = NULL;
1042 EC_KEY *tkey; 1042 EC_KEY *tkey;
1043 int ecdh_clnt_cert = 0; 1043 int ecdh_clnt_cert = 0;