X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/6bf5d8f2ca7524fd63f803032cada89e54544cf3..2c17bb02e213012d5d98ebac506a67b23b2cf693:/test/runtest diff --git a/test/runtest b/test/runtest index 51658b878..9bcace082 100755 --- a/test/runtest +++ b/test/runtest @@ -23,7 +23,14 @@ use Time::Local; # Start by initializing some global variables -$testversion = "4.78 (08-May-12)"; +$testversion = "4.80 (08-May-12)"; + +# This gets embedded in the D-H params filename, and the value comes +# from asking GnuTLS for "normal", but there appears to be no way to +# use certtool/... to ask what that value currently is. *sigh* +# This value is correct as of GnuTLS 2.12.18. +# +$gnutls_dh_bits_normal = 2432; $cf = "bin/cf -exact"; $cr = "\r"; @@ -1578,9 +1585,10 @@ if (/^eximstats\s+(.*)/) if (/^gnutls/) { - run_system "sudo cp -p aux-fixed/gnutls-params spool/gnutls-params;" . - "sudo chown $parm_eximuser:$parm_eximgroup spool/gnutls-params;" . - "sudo chmod 0400 spool/gnutls-params"; + my $gen_fn = "spool/gnutls-params-$gnutls_dh_bits_normal"; + run_system "sudo cp -p aux-fixed/gnutls-params $gen_fn;" . + "sudo chown $parm_eximuser:$parm_eximgroup $gen_fn;" . + "sudo chmod 0400 $gen_fn"; return 1; }