From e34db3169c7915eac8e9c8dd79d9ea07d8022129 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 16 Jan 2000 05:19:27 +0000 Subject: *** empty log message *** --- secure/lib/libcrypto/Makefile | 6 ++++++ secure/lib/libcrypto/Makefile.inc | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index 86f8c65..34ff381 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -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 diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc index b6f5e23..bee00f6 100644 --- a/secure/lib/libcrypto/Makefile.inc +++ b/secure/lib/libcrypto/Makefile.inc @@ -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 -- cgit v1.1