1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

*** empty log message ***

This commit is contained in:
Kris Kennaway 2000-01-16 05:19:27 +00:00
parent 1994cdc6c2
commit ac242a29d9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56087
2 changed files with 10 additions and 1 deletions

View File

@ -125,10 +125,16 @@ SRCS+= rc5cfb64.c rc5_ecb.c rc5_enc.c rc5ofb64.c rc5_skey.c
# ripemd
SRCS+= rmd_dgst.c rmd_one.c
# rsa
.if defined(WITH_RSA) && ${WITH_RSA} == YES
SRCS+= rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_oaep.c \
rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c
# rsaref
.if defined(RSAREF) && ${RSAREF} == YES
SRCS+= rsar_err.c rsaref.c
.endif
.endif
# sha
SRCS+= sha_dgst.c sha_one.c sha1_one.c sha1dgst.c

View File

@ -13,10 +13,13 @@ CFLAGS+= -DDEVRANDOM=\"/dev/urandom\"
.endif
.endif
.if !defined(RSA_NONCOMMERCIAL) || ${RSA_NONCOMMERCIAL} != YES
LOCALBASE?= /usr/local
.if !exists(${LOCALBASE}/lib/librsaref.a)
CFLAGS+= -DNO_RSA -DNO_SSL2
WITH_RSA= NO
.else
CFLAGS+= -DRSAref
RSAREF= YES
WITH_RSA= YES
.endif