summaryrefslogtreecommitdiffstats
path: root/imap/mkdhparams.in
diff options
context:
space:
mode:
authorSam Varshavchik2015-04-27 08:22:13 -0400
committerSam Varshavchik2015-04-27 08:22:13 -0400
commit3ac62c55bbacc4af10aef9a5390bd14ec0cfc71e (patch)
tree54149343444a290aa8df18f4d871e9409713cf72 /imap/mkdhparams.in
parentaec32f54c031e00da5cda1c2384d8b63e742f149 (diff)
downloadcourier-libs-3ac62c55bbacc4af10aef9a5390bd14ec0cfc71e.tar.bz2
Tweak script
Diffstat (limited to 'imap/mkdhparams.in')
-rw-r--r--imap/mkdhparams.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/imap/mkdhparams.in b/imap/mkdhparams.in
index 04afcca..88b6519 100644
--- a/imap/mkdhparams.in
+++ b/imap/mkdhparams.in
@@ -7,10 +7,15 @@
# Override from the environment
-@OPENSSL@ version | grep LibreSSL 1>/dev/null
-if test $? = 0
+if test "@ssllib@" = "openssl"
then
- LIBRESSL=1
+ LIBRESSL=0
+
+ @OPENSSL@ version | grep LibreSSL 1>/dev/null
+ if test $? = 0
+ then
+ LIBRESSL=1
+ fi
fi
if test "$TLS_DHPARAMS" = ""