summaryrefslogtreecommitdiffstats
path: root/imap/mkdhparams.in
diff options
context:
space:
mode:
authorSam Varshavchik2014-09-19 23:33:00 -0400
committerSam Varshavchik2014-09-19 23:33:00 -0400
commitc1b0310ee059dea7bdfcbb148771adb931a6fdf2 (patch)
tree9b0784459fd028d95da6efc11312bc9f673f7ec5 /imap/mkdhparams.in
parent078b9a46a1eba1e912109b457a27ff65b3736c39 (diff)
downloadcourier-libs-c1b0310ee059dea7bdfcbb148771adb931a6fdf2.tar.bz2
Fix DH parameters, print a message on stderr if alarm goes off.
Diffstat (limited to 'imap/mkdhparams.in')
-rw-r--r--imap/mkdhparams.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/mkdhparams.in b/imap/mkdhparams.in
index f5bddfa..cb9bafa 100644
--- a/imap/mkdhparams.in
+++ b/imap/mkdhparams.in
@@ -1,6 +1,6 @@
#! @SHELL@
#
-# Copyright 2013 Double Precision, Inc. See COPYING for
+# Copyright 2013-2014 Double Precision, Inc. See COPYING for
# distribution information.
#
# Run this script monthly to generate DH parameters.
@@ -25,7 +25,7 @@ if test "@ssllib@" = "openssl"
then
if test "$BITS" = ""
then
- BITS=768
+ BITS=2048
fi
dd if=@RANDOMV@ of=@certsdir@/dhparams.rand.tmp count=1 2>/dev/null