version 1.88, 2023/01/15 23:05:32 |
version 1.89, 2024/01/11 01:45:36 |
|
|
|
|
OPENSSL?= yes |
OPENSSL?= yes |
ZLIB?= yes |
ZLIB?= yes |
|
DSAKEY?= yes |
|
|
.if (${OPENSSL:L} == "yes") |
.if (${OPENSSL:L} == "yes") |
CFLAGS+= -DWITH_OPENSSL |
CFLAGS+= -DWITH_OPENSSL |
|
|
CFLAGS+= -DWITH_ZLIB |
CFLAGS+= -DWITH_ZLIB |
.endif |
.endif |
|
|
|
.if (${DSAKEY:L} == "yes") |
|
CFLAGS+= -DWITH_DSA |
|
.endif |
|
|
CFLAGS+= -DENABLE_PKCS11 |
CFLAGS+= -DENABLE_PKCS11 |
.ifndef NOPIC |
.ifndef NOPIC |
CFLAGS+= -DHAVE_DLOPEN |
CFLAGS+= -DHAVE_DLOPEN |
|
|
SRCS_KEY+= chacha.c |
SRCS_KEY+= chacha.c |
SRCS_KEY+= poly1305.c |
SRCS_KEY+= poly1305.c |
.if (${OPENSSL:L} == "yes") |
.if (${OPENSSL:L} == "yes") |
SRCS_KEY+= ssh-dss.c |
|
SRCS_KEY+= ssh-ecdsa.c |
SRCS_KEY+= ssh-ecdsa.c |
SRCS_KEY+= ssh-ecdsa-sk.c |
SRCS_KEY+= ssh-ecdsa-sk.c |
SRCS_KEY+= ssh-rsa.c |
SRCS_KEY+= ssh-rsa.c |
|
.if (${DSAKEY:L} == "yes") |
|
SRCS_KEY+= ssh-dss.c |
|
.endif |
SRCS_KEY+= sshbuf-getput-crypto.c |
SRCS_KEY+= sshbuf-getput-crypto.c |
SRCS_KEY+= digest-openssl.c |
SRCS_KEY+= digest-openssl.c |
SRCS_KEY+= cipher-chachapoly-libcrypto.c |
SRCS_KEY+= cipher-chachapoly-libcrypto.c |