From owner-cvs-all Sat Feb 26 5: 7:12 2000 Delivered-To: cvs-all@freebsd.org Received: from internat.freebsd.org (internat.freebsd.org [146.64.8.4]) by hub.freebsd.org (Postfix) with ESMTP id D9D3F37B7CB; Sat, 26 Feb 2000 05:07:02 -0800 (PST) (envelope-from peter@internat.freebsd.org) Received: (from peter@localhost) by internat.freebsd.org (8.9.3/8.9.3) id PAA26436; Sat, 26 Feb 2000 15:06:58 +0200 (SAST) (envelope-from peter) Message-Id: <200002261306.PAA26436@internat.freebsd.org> From: Peter Wemm Date: Sat, 26 Feb 2000 15:06:58 +0200 (SAST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/crypto/openssl/apps speed.c src/crypto/openssl/crypto/err err_all.c src/crypto/openssl/crypto/rsa rsa_stubs.c rsa.h rsa_eay.c rsa_lib.c src/crypto/openssl/rsaref rsar_err.c rsaref.c rsaref.h src/secure/lib Makefile src/secure/lib/libcrypto Makefile ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 2000/02/26 15:06:58 SAST FreeBSD International Crypto Repository Modified files: crypto/openssl/apps speed.c crypto/openssl/crypto/err err_all.c crypto/openssl/crypto/rsa rsa.h rsa_eay.c rsa_lib.c crypto/openssl/rsaref rsar_err.c rsaref.c rsaref.h secure/lib Makefile secure/lib/libcrypto Makefile Makefile.inc secure/usr.bin/openssl Makefile Added files: crypto/openssl/crypto/rsa rsa_stubs.c secure/lib/librsaintl Makefile secure/lib/librsausa Makefile Log: At great personal risk (to my already fragile sanity), reorganize the rsa stubs for libcrypto. libcrypto.so now uses dlopen() to implement the backends for either the native or rsaref implemented RSA code. This involves: - unifying the libcrypto and openssl(1) source so there is no #ifdef RSAref variations. - using weak symbols and dlopen()/dlsym() routines to access the rsa method vectors. Releases will enable the user to choose International, US (rsaref) or no RSA code at install time. 'make world' will DTRT depending on whether you have the international or US source. For US users, you must either install rsaref (the port or package) or (if you don't fear RSA Inc) use the (superior) International rsa_eay.c code. This has been discussed at great length by the affected folks and even we have a great deal of confusion. This is a checkpoint so we can tune the results. This works for me in all permutations I can think of and should result in a CD/ftp 'release' just about doing the right thing now. Revision Changes Path 1.3 +2 -14 src/crypto/openssl/apps/speed.c 1.2 +1 -7 src/crypto/openssl/crypto/err/err_all.c 1.2 +2 -4 src/crypto/openssl/crypto/rsa/rsa.h 1.2 +2 -1 src/crypto/openssl/crypto/rsa/rsa_eay.c 1.2 +2 -5 src/crypto/openssl/crypto/rsa/rsa_lib.c 1.2 +2 -1 src/crypto/openssl/rsaref/rsar_err.c 1.2 +2 -1 src/crypto/openssl/rsaref/rsaref.c 1.2 +3 -2 src/crypto/openssl/rsaref/rsaref.h 1.20 +7 -1 src/secure/lib/Makefile 1.9 +3 -14 src/secure/lib/libcrypto/Makefile 1.9 +1 -6 src/secure/lib/libcrypto/Makefile.inc 1.7 +1 -8 src/secure/usr.bin/openssl/Makefile To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message