TLS: restore TLS protocol version to default Received: header
[exim.git] / src / src / spool_out.c
index 00361ab7cfb9ca2349ee4e02793b3ebaf4daff3f..892ea2f52fd1bb574f2dd699ab29414fb332726f 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