diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-14 18:53:16 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2019-02-14 18:53:16 +0000 |
commit | a2ba4cc48d47c6b9099a51b953c006ad5eaa820b (patch) | |
tree | 9de4781e0820fa5c690f630f8152bc885eea488f /lib | |
parent | 6905e28ebeda75f1597a12ca1629092be7955fe5 (diff) |
Correct guards.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/ssl_methods.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/ssl_methods.c b/lib/libssl/ssl_methods.c index 636fed92a06..bacc186a58b 100644 --- a/lib/libssl/ssl_methods.c +++ b/lib/libssl/ssl_methods.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_methods.c,v 1.2 2019/02/14 17:50:07 jsing Exp $ */ +/* $OpenBSD: ssl_methods.c,v 1.3 2019/02/14 18:53:15 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -190,7 +190,7 @@ dtls1_get_server_method(int ver) return (NULL); } -#ifdef LIBRESSL_HAS_TLS13 +#ifdef LIBRESSL_HAS_TLS1_3 static const SSL_METHOD_INTERNAL TLS_client_method_internal_data = { .version = TLS1_3_VERSION, .min_version = TLS1_VERSION, @@ -358,7 +358,7 @@ SSLv23_client_method(void) const SSL_METHOD * TLS_client_method(void) { -#ifdef LIBRESSL_HAS_TLS13 +#ifdef LIBRESSL_HAS_TLS1_3 return (&TLS_client_method_data); #else return tls_legacy_client_method(); |