diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-16 21:10:00 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-16 21:10:00 +0000 |
commit | aa82db4fb49e8e3da38e39861837117ce12256bf (patch) | |
tree | f98d8db975229449ec5943d6063b03151e5efab6 /apps | |
parent | b0bb2b914a0971aeaf60c5e0dde56e1c8aa78a23 (diff) | |
download | openssl-aa82db4fb49e8e3da38e39861837117ce12256bf.tar.gz |
Add missing #ifndefs that caused missing symbols when building libssl
as a shared library without RSA. Use #ifndef NO_SSL2 instead of
NO_RSA in ssl/s2*.c.
Submitted by: Kris Kennaway <kris@hub.freebsd.org>
Modified by Ulf Möller
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ciphers.c | 4 | ||||
-rw-r--r-- | apps/s_client.c | 4 | ||||
-rw-r--r-- | apps/s_server.c | 4 | ||||
-rw-r--r-- | apps/s_time.c | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/apps/ciphers.c b/apps/ciphers.c index 08e47be4f7..3c76782b7e 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -66,10 +66,6 @@ #include <openssl/err.h> #include <openssl/ssl.h> -#if defined(NO_RSA) && !defined(NO_SSL2) -#define NO_SSL2 -#endif - #undef PROG #define PROG ciphers_main diff --git a/apps/s_client.c b/apps/s_client.c index f09fae5f67..84a475d7b8 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -91,10 +91,6 @@ typedef unsigned int u_int; #undef FIONBIO #endif -#if defined(NO_RSA) && !defined(NO_SSL2) -#define NO_SSL2 -#endif - #undef PROG #define PROG s_client_main diff --git a/apps/s_server.c b/apps/s_server.c index a33e0ff147..ff0354acc8 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -94,10 +94,6 @@ typedef unsigned int u_int; #undef FIONBIO #endif -#if defined(NO_RSA) && !defined(NO_SSL2) -#define NO_SSL2 -#endif - #ifndef NO_RSA static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export, int keylength); #endif diff --git a/apps/s_time.c b/apps/s_time.c index a43df6bb92..1653195b3f 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -67,10 +67,6 @@ #include <stdlib.h> #include <string.h> -#if defined(NO_RSA) && !defined(NO_SSL2) -#define NO_SSL2 -#endif - #ifdef NO_STDIO #define APPS_WIN16 #endif |