summaryrefslogtreecommitdiff
path: root/ssl/ssl_conf.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-01-02 20:06:07 +0100
committerKurt Roeckx <kurt@roeckx.be>2016-01-10 13:04:55 +0100
commit869e978c9856c3a1faf0c289bfef3048b2af867c (patch)
tree012be869bd47bd8e20c9936e965572c99a311a8f /ssl/ssl_conf.c
parentca0004e5610df4333d06908c5c5788f93a971ffa (diff)
downloadopenssl-new-869e978c9856c3a1faf0c289bfef3048b2af867c.tar.gz
Allow disabling the min and max version
Reviewed-by: Viktor Dukhovni <openssl-users@dukhovni.org>
Diffstat (limited to 'ssl/ssl_conf.c')
-rw-r--r--ssl/ssl_conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c
index 9529d30842..2c40df1593 100644
--- a/ssl/ssl_conf.c
+++ b/ssl/ssl_conf.c
@@ -332,6 +332,7 @@ static int protocol_from_string(const char *value)
int version;
};
static const struct protocol_versions versions[] = {
+ {"None", 0},
{"SSLv3", SSL3_VERSION},
{"TLSv1", TLS1_VERSION},
{"TLSv1.1", TLS1_1_VERSION},