summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-26 11:14:17 +0000
committerpeter <peter@FreeBSD.org>2000-02-26 11:14:17 +0000
commit10a409ad5f5b82bd45188f149c0126d41e3bdd59 (patch)
treee2536c7259fe5dc352e314d7d20a9e52f8003785 /lib
parenteb77fcb95c7f3db514f815720cb867ab2fb9faa4 (diff)
downloadFreeBSD-src-10a409ad5f5b82bd45188f149c0126d41e3bdd59.zip
FreeBSD-src-10a409ad5f5b82bd45188f149c0126d41e3bdd59.tar.gz
Don't build pam_ssh if the crypto code is missing.
Found by: sos
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpam/modules/Makefile b/lib/libpam/modules/Makefile
index 1404b36..92b82af 100644
--- a/lib/libpam/modules/Makefile
+++ b/lib/libpam/modules/Makefile
@@ -35,7 +35,7 @@ SUBDIR+= pam_kerberos5
SUBDIR+= pam_permit
SUBDIR+= pam_radius
SUBDIR+= pam_skey
-.if !defined(NO_OPENSSL)
+.if exists({$.CURDIR}/../../../crypto/openssh) && !defined(NO_OPENSSL)
SUBDIR+= pam_ssh
.endif
SUBDIR+= pam_tacplus
OpenPOWER on IntegriCloud