summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_clnt.c
diff options
context:
space:
mode:
authorjsing <>2017-01-21 06:50:02 +0000
committerjsing <>2017-01-21 06:50:02 +0000
commit85977a5fc077a3570226e3ec00bf221c6c1951cd (patch)
tree3e7467326a7b90d124dd0a59f133b50f6c539983 /src/lib/libssl/d1_clnt.c
parent6411419e3be11551c026699bf2afb5e17fdd57c4 (diff)
downloadopenbsd-85977a5fc077a3570226e3ec00bf221c6c1951cd.tar.gz
openbsd-85977a5fc077a3570226e3ec00bf221c6c1951cd.tar.bz2
openbsd-85977a5fc077a3570226e3ec00bf221c6c1951cd.zip
Specify minimum and maximum protocol version for each method. This is
currently unused, but will be in the near future. ok beck@
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 42e149f864..633eabf8b4 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.59 2016/12/06 13:38:11 jsing Exp $ */ 1/* $OpenBSD: d1_clnt.c,v 1.60 2017/01/21 06:50:02 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.
@@ -132,6 +132,8 @@ static int dtls1_get_hello_verify(SSL *s);
132 132
133static const SSL_METHOD DTLSv1_client_method_data = { 133static const SSL_METHOD DTLSv1_client_method_data = {
134 .version = DTLS1_VERSION, 134 .version = DTLS1_VERSION,
135 .min_version = DTLS1_VERSION,
136 .max_version = DTLS1_VERSION,
135 .ssl_new = dtls1_new, 137 .ssl_new = dtls1_new,
136 .ssl_clear = dtls1_clear, 138 .ssl_clear = dtls1_clear,
137 .ssl_free = dtls1_free, 139 .ssl_free = dtls1_free,