GnuTLS: fix $tls_X_ver generation
[exim.git] / src / src / spool_out.c
index acc6c7b5f8ad08580df9cb61e18e7ec23cf37cc3..c766b147d1cf9aeb47a159c7caec94a1759abe48 100644 (file)
@@ -263,6 +263,7 @@ if (tls_in.ocsp)     fprintf(fp, "-tls_ocsp %d\n",   tls_in.ocsp);
 # ifdef EXPERIMENTAL_TLS_RESUME
 fprintf(fp, "-tls_resumption %c\n", 'A' + tls_in.resumption);
 # endif
+if (tls_in.ver) spool_var_write(fp, US"tls_ver", tls_in.ver);
 #endif
 
 #ifdef SUPPORT_I18N