$OpenBSD: patch-src_openvpn_ssl_c,v 1.1 2019/02/21 23:32:23 jca Exp $

Index: src/openvpn/ssl.c
--- src/openvpn/ssl.c.orig
+++ src/openvpn/ssl.c
@@ -4146,7 +4146,7 @@ show_available_tls_ciphers(const char *cipher_list,
 {
     printf("Available TLS Ciphers, listed in order of preference:\n");
 
-#if (ENABLE_CRYPTO_OPENSSL && OPENSSL_VERSION_NUMBER >= 0x1010100fL)
+#if (ENABLE_CRYPTO_OPENSSL && OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(OPENSSL_NO_TLS1_3))
     printf("\nFor TLS 1.3 and newer (--tls-ciphersuites):\n\n");
     show_available_tls_ciphers_list(cipher_list_tls13, tls_cert_profile, true);
 #else
