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 /ssl/ssl.h | |
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 'ssl/ssl.h')
-rw-r--r-- | ssl/ssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |