summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-10 16:29:32 +0000
committerBodo Möller <bodo@openssl.org>1999-06-10 16:29:32 +0000
commitd58d092bc9f0a541ce5f0b265ee819f7ab086560 (patch)
tree497575b6ed095b6672e9f17ffb3f20223d3b6b36 /apps/s_server.c
parent9d9b559ef03e481d2feec5a3a9a28f4a41f8189a (diff)
Avoid warnings.
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index aeca2ea727..c82c0f33d8 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -631,7 +631,7 @@ bad:
BIO_printf(bio_s_out,"Using default temp DH parameters\n");
dh=get_dh512();
}
- BIO_flush(bio_s_out);
+ (void)BIO_flush(bio_s_out);
SSL_CTX_set_tmp_dh(ctx,dh);
DH_free(dh);
@@ -1403,13 +1403,13 @@ static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int is_export, int keylength)
if (!s_quiet)
{
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);
if (!s_quiet)
{
BIO_printf(bio_err,"\n");
- BIO_flush(bio_err);
+ (void)BIO_flush(bio_err);
}
}
return(rsa_tmp);