aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl.h
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 /ssl/ssl.h
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 'ssl/ssl.h')
-rw-r--r--ssl/ssl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 575c64d1d9..db498041a3 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -151,6 +151,10 @@ extern "C" {
#include <openssl/pem.h>
#include <openssl/x509.h>
+#if defined(NO_RSA) && !defined(NO_SSL2)
+#define NO_SSL2
+#endif
+
#define SSL_FILETYPE_ASN1 X509_FILETYPE_ASN1
#define SSL_FILETYPE_PEM X509_FILETYPE_PEM