git: libssh: Fix crypt() misdetection to avoid custom auth passwd

Aaron LI aly at crater.dragonflybsd.org
Thu Oct 8 21:54:51 PDT 2026


commit 5741f327d7375a727737c1ea0a6af2d1244b9de5
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Oct 7 12:52:04 2026 +0800

    libssh: Fix crypt() misdetection to avoid custom auth passwd
    
    The configure script failed to detect crypt() availability so xcrypt.c
    chose DES_crypt() from OpenSSL/LibreSSL, which is incompatible.
    
    Fix the misdetection by setting -DHAVE_CRYPT in CFLAGS.  And this
    reverts commit 4a1ac62bb5d7392fd6305e93850de57407b334e6.

Summary of changes:
 lib/libssh/Makefile                       |  7 ++-
 libexec/sshd-session/Makefile             |  3 +-
 libexec/sshd-session/auth-passwd-custom.c | 75 -------------------------------
 usr.sbin/sshd/Makefile                    |  4 +-
 4 files changed, 7 insertions(+), 82 deletions(-)
 delete mode 100644 libexec/sshd-session/auth-passwd-custom.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5741f327d7375a727737c1ea0a6af2d1244b9de5


-- 
DragonFly BSD source repository


More information about the Commits mailing list