summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_meth.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_meth.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_meth.c')
-rw-r--r--src/lib/libssl/d1_meth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_meth.c b/src/lib/libssl/d1_meth.c
index 83917e336d..c7604863fa 100644
--- a/src/lib/libssl/d1_meth.c
+++ b/src/lib/libssl/d1_meth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_meth.c,v 1.10 2016/11/04 18:30:21 guenther Exp $ */ 1/* $OpenBSD: d1_meth.c,v 1.11 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.
@@ -67,6 +67,8 @@ static const SSL_METHOD *dtls1_get_method(int ver);
67 67
68static const SSL_METHOD DTLSv1_method_data = { 68static const SSL_METHOD DTLSv1_method_data = {
69 .version = DTLS1_VERSION, 69 .version = DTLS1_VERSION,
70 .min_version = DTLS1_VERSION,
71 .max_version = DTLS1_VERSION,
70 .ssl_new = dtls1_new, 72 .ssl_new = dtls1_new,
71 .ssl_clear = dtls1_clear, 73 .ssl_clear = dtls1_clear,
72 .ssl_free = dtls1_free, 74 .ssl_free = dtls1_free,