aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-01-16 21:10:00 +0000
committerUlf Möller <ulf@openssl.org>2000-01-16 21:10:00 +0000
commitaa82db4fb49e8e3da38e39861837117ce12256bf (patch)
treef98d8db975229449ec5943d6063b03151e5efab6 /apps
parentb0bb2b914a0971aeaf60c5e0dde56e1c8aa78a23 (diff)
downloadopenssl-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.c4
-rw-r--r--apps/s_client.c4
-rw-r--r--apps/s_server.c4
-rw-r--r--apps/s_time.c4
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