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_clnt.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_clnt.c')
| -rw-r--r-- | src/lib/libssl/d1_clnt.c | 4 |
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 | ||
| 133 | static const SSL_METHOD DTLSv1_client_method_data = { | 133 | static 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, |
