From aa82db4fb49e8e3da38e39861837117ce12256bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulf=20M=C3=B6ller?= Date: Sun, 16 Jan 2000 21:10:00 +0000 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Kris Kennaway Modified by Ulf Möller --- ssl/s2_enc.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ssl/s2_enc.c') diff --git a/ssl/s2_enc.c b/ssl/s2_enc.c index 09835008a9..a9458e7fa7 100644 --- a/ssl/s2_enc.c +++ b/ssl/s2_enc.c @@ -56,8 +56,9 @@ * [including the GNU Public Licence.] */ -#include #include "ssl_locl.h" +#ifndef NO_SSL2 +#include int ssl2_enc_init(SSL *s, int client) { @@ -177,4 +178,10 @@ void ssl2_mac(SSL *s, unsigned char *md, int send) EVP_DigestFinal(&c,md,NULL); /* some would say I should zero the md context */ } +#else /* !NO_SSL2 */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif +#endif -- cgit v1.2.3