diff options
| author | jsing <> | 2017-01-21 06:50:02 +0000 |
|---|---|---|
| committer | jsing <> | 2017-01-21 06:50:02 +0000 |
| commit | 400845e1477525baae7acfc08b6aa9ae7e646465 (patch) | |
| tree | 3e7467326a7b90d124dd0a59f133b50f6c539983 /src/lib/libssl/d1_srvr.c | |
| parent | 9200a6e5114f968751c59fe2ecf3a6421ce7db17 (diff) | |
| download | openbsd-400845e1477525baae7acfc08b6aa9ae7e646465.tar.gz openbsd-400845e1477525baae7acfc08b6aa9ae7e646465.tar.bz2 openbsd-400845e1477525baae7acfc08b6aa9ae7e646465.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, |
