summaryrefslogtreecommitdiffstats
path: root/imap/mkdhparams.in
diff options
context:
space:
mode:
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" = ""