summaryrefslogtreecommitdiffstats
path: root/ssl/methods.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/methods.c')
-rw-r--r--ssl/methods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/methods.c b/ssl/methods.c
index 0b03f80160..6118fdbaae 100644
--- a/ssl/methods.c
+++ b/ssl/methods.c
@@ -172,7 +172,7 @@ IMPLEMENT_dtls1_meth_func(DTLS_ANY_VERSION, 0, 0,
DTLS_client_method,
ssl_undefined_function,
ossl_statem_connect, DTLSv1_2_enc_data)
-#if !OPENSSL_API_1_1_0
+#ifndef OPENSSL_NO_DEPRECATED_1_1_0
# ifndef OPENSSL_NO_TLS1_2_METHOD
const SSL_METHOD *TLSv1_2_method(void)
{