From 85977a5fc077a3570226e3ec00bf221c6c1951cd Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 21 Jan 2017 06:50:02 +0000 Subject: Specify minimum and maximum protocol version for each method. This is currently unused, but will be in the near future. ok beck@ --- src/lib/libssl/d1_clnt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libssl/d1_clnt.c') 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 @@ -/* $OpenBSD: d1_clnt.c,v 1.59 2016/12/06 13:38:11 jsing Exp $ */ +/* $OpenBSD: d1_clnt.c,v 1.60 2017/01/21 06:50:02 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -132,6 +132,8 @@ static int dtls1_get_hello_verify(SSL *s); static const SSL_METHOD DTLSv1_client_method_data = { .version = DTLS1_VERSION, + .min_version = DTLS1_VERSION, + .max_version = DTLS1_VERSION, .ssl_new = dtls1_new, .ssl_clear = dtls1_clear, .ssl_free = dtls1_free, -- cgit v1.2.3-55-g6feb