From f389ea9752af1dfad60f0c15075c0500bcf48c91 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 16 Jan 2000 04:45:18 +0000 Subject: Fix for missing symbol in -DRSAref case. --- crypto/openssl/apps/speed.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/openssl/apps/speed.c') diff --git a/crypto/openssl/apps/speed.c b/crypto/openssl/apps/speed.c index 3cfb4db..a298014 100644 --- a/crypto/openssl/apps/speed.c +++ b/crypto/openssl/apps/speed.c @@ -54,6 +54,8 @@ * derivative of this code cannot be changed. i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] + * + * $FreeBSD$ */ /* most of this code has been pilfered from my libdes speed.c program */ @@ -437,7 +439,11 @@ int MAIN(int argc, char **argv) #endif if (strcmp(*argv,"openssl") == 0) { +#ifdef RSAref + RSA_set_default_method(RSA_PKCS1_RSAref()); +#else RSA_set_default_method(RSA_PKCS1_SSLeay()); +#endif j--; } else -- cgit v1.1