diff options
author | jsing <> | 2017-01-21 06:50:02 +0000 |
---|---|---|
committer | jsing <> | 2017-01-21 06:50:02 +0000 |
commit | 85977a5fc077a3570226e3ec00bf221c6c1951cd (patch) | |
tree | 3e7467326a7b90d124dd0a59f133b50f6c539983 /src/lib/libssl/d1_srvr.c | |
parent | 6411419e3be11551c026699bf2afb5e17fdd57c4 (diff) | |
download | openbsd-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_srvr.c')
-rw-r--r-- | src/lib/libssl/d1_srvr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_srvr.c b/src/lib/libssl/d1_srvr.c index 472d0de9dd..4322a219f5 100644 --- a/src/lib/libssl/d1_srvr.c +++ b/src/lib/libssl/d1_srvr.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_srvr.c,v 1.69 2016/12/06 13:38:11 jsing Exp $ */ | 1 | /* $OpenBSD: d1_srvr.c,v 1.70 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. |
@@ -130,6 +130,8 @@ static int dtls1_send_hello_verify_request(SSL *s); | |||
130 | 130 | ||
131 | static const SSL_METHOD DTLSv1_server_method_data = { | 131 | static const SSL_METHOD DTLSv1_server_method_data = { |
132 | .version = DTLS1_VERSION, | 132 | .version = DTLS1_VERSION, |
133 | .min_version = DTLS1_VERSION, | ||
134 | .max_version = DTLS1_VERSION, | ||
133 | .ssl_new = dtls1_new, | 135 | .ssl_new = dtls1_new, |
134 | .ssl_clear = dtls1_clear, | 136 | .ssl_clear = dtls1_clear, |
135 | .ssl_free = dtls1_free, | 137 | .ssl_free = dtls1_free, |