diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-02-26 13:06:55 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-02-26 13:06:55 +0000 |
commit | b70ab85b2bb5d6a7b2f18ed4ac5d2a861f565c67 (patch) | |
tree | 0fe8937c1508aecdafdf9c4cc3fbcbb704cf5934 /crypto/openssl/crypto/rsa/rsa_eay.c | |
parent | 1edd3fc668085285e16235f6312627c7c64e61eb (diff) | |
download | src-b70ab85b2bb5d6a7b2f18ed4ac5d2a861f565c67.tar.gz src-b70ab85b2bb5d6a7b2f18ed4ac5d2a861f565c67.zip |
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.
Notes
Notes:
svn path=/head/; revision=57510
Diffstat (limited to 'crypto/openssl/crypto/rsa/rsa_eay.c')
-rw-r--r-- | crypto/openssl/crypto/rsa/rsa_eay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/rsa/rsa_eay.c b/crypto/openssl/crypto/rsa/rsa_eay.c index 7f51c42e9fea..f73d7b2889b8 100644 --- a/crypto/openssl/crypto/rsa/rsa_eay.c +++ b/crypto/openssl/crypto/rsa/rsa_eay.c @@ -1,4 +1,5 @@ /* crypto/rsa/rsa_eay.c */ +/* $FreeBSD$ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -87,7 +88,7 @@ static RSA_METHOD rsa_pkcs1_eay_meth={ NULL, }; -RSA_METHOD *RSA_PKCS1_SSLeay(void) +RSA_METHOD *RSA_PKCS1(void) { return(&rsa_pkcs1_eay_meth); } |