diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s2_clnt.c | 6 | ||||
-rw-r--r-- | ssl/s2_lib.c | 6 | ||||
-rw-r--r-- | ssl/s2_meth.c | 6 | ||||
-rw-r--r-- | ssl/s2_srvr.c | 6 | ||||
-rw-r--r-- | ssl/s3_srvr.c | 2 |
5 files changed, 25 insertions, 1 deletions
diff --git a/ssl/s2_clnt.c b/ssl/s2_clnt.c index d047e89ed6..b0a656740c 100644 --- a/ssl/s2_clnt.c +++ b/ssl/s2_clnt.c @@ -974,4 +974,10 @@ end: EVP_PKEY_free(pkey); return(i); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index ff804d8e0d..f473b459f2 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -421,4 +421,10 @@ int ssl2_shutdown(SSL *s) s->shutdown=(SSL_SENT_SHUTDOWN|SSL_RECEIVED_SHUTDOWN); return(1); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/ssl/s2_meth.c b/ssl/s2_meth.c index e2add164dd..54ff252d9a 100644 --- a/ssl/s2_meth.c +++ b/ssl/s2_meth.c @@ -86,4 +86,10 @@ SSL_METHOD *SSLv2_method(void) } return(&SSLv2_data); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index f8f1ba76d0..e219ae5e32 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -966,4 +966,10 @@ static int ssl_rsa_private_decrypt(CERT *c, int len, unsigned char *from, SSLerr(SSL_F_SSL_RSA_PRIVATE_DECRYPT,ERR_R_RSA_LIB); return(i); } +#else /* !NO_RSA */ + +# if PEDANTIC +static void *dummy=&dummy; +# endif + #endif diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 9e08b75ee3..85b0f5e9ef 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -900,6 +900,7 @@ static int ssl3_send_server_key_exchange(SSL *s) int j,num; RSA *rsa; unsigned char md_buf[MD5_DIGEST_LENGTH+SHA_DIGEST_LENGTH]; + unsigned int u; #endif #ifndef NO_DH DH *dh,*dhp; @@ -907,7 +908,6 @@ static int ssl3_send_server_key_exchange(SSL *s) EVP_PKEY *pkey; unsigned char *p,*d; int al,i; - unsigned int u; unsigned long type; int n; CERT *cert; |