Avoid warnings.
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c
index 386ebe3..299d2ae 100644
--- a/ssl/s23_clnt.c
+++ b/ssl/s23_clnt.c
@@ -186,7 +186,7 @@
/* break; */
}
- if (s->debug) BIO_flush(s->wbio);
+ if (s->debug) { (void)BIO_flush(s->wbio); }
if ((cb != NULL) && (s->state != state))
{
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 016af31..4a19509 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -1016,7 +1016,7 @@
* does not get sent due to non-blocking IO, we will
* not worry too much. */
if (s->s3->send_alert[0] == SSL3_AL_FATAL)
- BIO_flush(s->wbio);
+ (void)BIO_flush(s->wbio);
if (s->info_callback != NULL)
cb=s->info_callback;
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index aa181ab..95e8405 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -1695,7 +1695,7 @@
if (s->bbio == s->wbio)
s->wbio=BIO_pop(s->wbio);
}
- BIO_reset(bbio);
+ (void)BIO_reset(bbio);
/* if (!BIO_set_write_buffer_size(bbio,16*1024)) */
if (!BIO_set_read_buffer_size(bbio,1))
{
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index d6f4c88..c02c26c 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -97,9 +97,12 @@
static char *cipher=NULL;
int verbose=0;
int debug=0;
+#if 0
+/* Not used yet. */
#ifdef FIONBIO
static int s_nbio=0;
#endif
+#endif
int doit(SSL *s_ssl,SSL *c_ssl,long bytes);
@@ -731,10 +734,10 @@
if (rsa_tmp == NULL)
{
BIO_printf(bio_err,"Generating temp (%d bit) RSA key...",keylength);
- BIO_flush(bio_err);
+ (void)BIO_flush(bio_err);
rsa_tmp=RSA_generate_key(keylength,RSA_F4,NULL,NULL);
BIO_printf(bio_err,"\n");
- BIO_flush(bio_err);
+ (void)BIO_flush(bio_err);
}
return(rsa_tmp);
}