=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Makefile.inc,v retrieving revision 1.88 retrieving revision 1.89 diff -u -r1.88 -r1.89 --- src/usr.bin/ssh/Makefile.inc 2023/01/15 23:05:32 1.88 +++ src/usr.bin/ssh/Makefile.inc 2024/01/11 01:45:36 1.89 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.88 2023/01/15 23:05:32 djm Exp $ +# $OpenBSD: Makefile.inc,v 1.89 2024/01/11 01:45:36 djm Exp $ .include @@ -34,6 +34,7 @@ OPENSSL?= yes ZLIB?= yes +DSAKEY?= yes .if (${OPENSSL:L} == "yes") CFLAGS+= -DWITH_OPENSSL @@ -43,6 +44,10 @@ CFLAGS+= -DWITH_ZLIB .endif +.if (${DSAKEY:L} == "yes") +CFLAGS+= -DWITH_DSA +.endif + CFLAGS+= -DENABLE_PKCS11 .ifndef NOPIC CFLAGS+= -DHAVE_DLOPEN @@ -78,10 +83,12 @@ SRCS_KEY+= chacha.c SRCS_KEY+= poly1305.c .if (${OPENSSL:L} == "yes") -SRCS_KEY+= ssh-dss.c SRCS_KEY+= ssh-ecdsa.c SRCS_KEY+= ssh-ecdsa-sk.c SRCS_KEY+= ssh-rsa.c +.if (${DSAKEY:L} == "yes") +SRCS_KEY+= ssh-dss.c +.endif SRCS_KEY+= sshbuf-getput-crypto.c SRCS_KEY+= digest-openssl.c SRCS_KEY+= cipher-chachapoly-libcrypto.c