TLS: build dependency for LibreSSL
[exim.git] / src / src / tls-openssl.c
index a95b58acf2d0442858921167fcea95f2a448f593..4d9baf952a7ff4b28b2ac80a2ce1a0fdbcde30f6 100644 (file)
@@ -90,6 +90,10 @@ change this guard and punt the issue for a while longer. */
 # endif
 #endif
 
+#if LIBRESSL_VERSION_NUMBER >= 0x3040000fL
+# define EXIM_HAVE_OPENSSL_CIPHER_GET_ID
+#endif
+
 #if !defined(LIBRESSL_VERSION_NUMBER) \
     || LIBRESSL_VERSION_NUMBER >= 0x20010000L
 # if !defined(OPENSSL_NO_ECDH)
@@ -3273,7 +3277,7 @@ else DEBUG(D_tls)
   if (len && name)
     debug_printf("ALPN negotiated: '%.*s'\n", (int)*name, name+1);
   else
-    debug_printf(ALPN: no protocol negotiated\n");
+    debug_printf("ALPN: no protocol negotiated\n");
   }
 #endif