diff options
| author | Sam Varshavchik | 2015-04-27 08:22:13 -0400 |
|---|---|---|
| committer | Sam Varshavchik | 2015-04-27 08:22:13 -0400 |
| commit | 3ac62c55bbacc4af10aef9a5390bd14ec0cfc71e (patch) | |
| tree | 54149343444a290aa8df18f4d871e9409713cf72 | |
| parent | aec32f54c031e00da5cda1c2384d8b63e742f149 (diff) | |
| download | courier-libs-3ac62c55bbacc4af10aef9a5390bd14ec0cfc71e.tar.bz2 | |
Tweak script
| -rw-r--r-- | imap/mkdhparams.in | 11 |
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" = "" |
