Add missing #ifndefs that caused missing symbols when building libssl
[openssl.git] / ssl / ssl.h
index 575c64d1d95cdb931eea8857cf1c108cd10a9f63..db498041a3264a9c3e363af683058700a2ec64f0 100644 (file)
--- 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