diff options
author | June McEnroe <june@causal.agency> | 2023-10-11 19:33:38 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-10-11 19:33:38 -0400 |
commit | 198349012002f8d30013eb23c7d6df6a3c9cc65a (patch) | |
tree | bd0567586a018ee4a9d450c2c1de1d10e6f6bd61 /tls_config.c | |
parent | Merge LibreSSL 3.8.0 (diff) | |
parent | Import LibreSSL 3.8.1 (diff) | |
download | libretls-198349012002f8d30013eb23c7d6df6a3c9cc65a.tar.gz libretls-198349012002f8d30013eb23c7d6df6a3c9cc65a.zip |
Diffstat (limited to 'tls_config.c')
-rw-r--r-- | tls_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tls_config.c b/tls_config.c index 864ef29..59c69f0 100644 --- a/tls_config.c +++ b/tls_config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_config.c,v 1.66 2023/05/14 07:26:25 op Exp $ */ +/* $OpenBSD: tls_config.c,v 1.67 2023/07/02 06:37:27 beck Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -251,9 +251,9 @@ tls_config_parse_protocols(uint32_t *protocols, const char *protostr) if (strcasecmp(p, "tlsv1") == 0) proto = TLS_PROTOCOL_TLSv1; else if (strcasecmp(p, "tlsv1.0") == 0) - proto = TLS_PROTOCOL_TLSv1_0; + proto = TLS_PROTOCOL_TLSv1_2; else if (strcasecmp(p, "tlsv1.1") == 0) - proto = TLS_PROTOCOL_TLSv1_1; + proto = TLS_PROTOCOL_TLSv1_2; else if (strcasecmp(p, "tlsv1.2") == 0) proto = TLS_PROTOCOL_TLSv1_2; else if (strcasecmp(p, "tlsv1.3") == 0) |