summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/xcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/xcrypt.c')
-rw-r--r--crypto/openssh/openbsd-compat/xcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/openbsd-compat/xcrypt.c b/crypto/openssh/openbsd-compat/xcrypt.c
index c8aea46..8577cbd 100644
--- a/crypto/openssh/openbsd-compat/xcrypt.c
+++ b/crypto/openssh/openbsd-compat/xcrypt.c
@@ -57,7 +57,7 @@
# include "md5crypt.h"
# endif
-# if !defined(HAVE_CRYPT) && defined(HAVE_DES_CRYPT)
+# if defined(WITH_OPENSSL) && !defined(HAVE_CRYPT) && defined(HAVE_DES_CRYPT)
# include <openssl/des.h>
# define crypt DES_crypt
# endif
OpenPOWER on IntegriCloud