SSL_CTX_free( c );
}
+#if OPENSSL_VERSION_NUMBER >= 0x10101000
static char *
tlso_stecpy( char *dst, const char *src, const char *end )
{
return dst;
}
-/* OpenSSL 1.1 uses a separate API for TLS1.3 ciphersuites.
+/* OpenSSL 1.1.1 uses a separate API for TLS1.3 ciphersuites.
* Try to find any TLS1.3 ciphers in the given list of suites.
*/
static void
}
SSL_CTX_set_ciphersuites( ctx, tls13_suites );
}
+#endif /* OpenSSL 1.1.1 */
/*
* initialize a new TLS context
}
if ( lo->ldo_tls_ciphersuite ) {
+#if OPENSSL_VERSION_NUMBER >= 0x10101000
tlso_ctx_cipher13( ctx, lt->lt_ciphersuite );
+#endif
if ( !SSL_CTX_set_cipher_list( ctx, lt->lt_ciphersuite ) )
{
Debug1( LDAP_DEBUG_ANY,