OpenSSL: unbreak build with older library version
[exim.git] / src / src / tls-openssl.c
index 22750d273fbde01d4c4e0b9a2c2c6b0816dfcb74..c46bc75a571f7efab9d2b125f4b0b3725c88eb3e 100644 (file)
@@ -3191,7 +3191,7 @@ uschar c, * s;
 size_t len;
 
 #ifdef EXIM_HAVE_EXPORT_CHNL_BNGNG
-if (SSL_version(ssl) >= TLS1_3_VERSION)
+if (SSL_version(ssl) > TLS1_2_VERSION)
   {
   /* It's not documented by OpenSSL how big the output buffer must be.
   The OpenSSL testcases use 80 bytes but don't say why. The GnuTLS impl only