The simplest way to test whether OpenSSL can do RSA is to write a file at
install-time, like the following patch. Any objections?
Kris
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/secure/lib/libcrypto/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 2000/01/16 05:23:21 1.5
+++ Makefile 2000/01/18 05:50:34
@@ -206,7 +206,13 @@
${LCRYPTO_SRC}/$$i ${DESTDIR}/usr/include/openssl; \
done; \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${.OBJDIR}/openssl/opensslconf.h ${DESTDIR}/usr/include/openssl
+ ${.OBJDIR}/openssl/opensslconf.h \
+ ${DESTDIR}/usr/include/openssl
+.if defined(WITH_RSA) && ${WITH_RSA} == YES
+ /usr/bin/touch /etc/ssl/openssl_hasrsa
+.else
+ rm -f /etc/ssl/openssl_hasrsa
+.endif
.PATH: ${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/buffer \
----
"How many roads must a man walk down, before you call him a man?"
"Eight!"
"That was a rhetorical question!"
"Oh..then, seven!" -- Homer Simpson
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message