summaryrefslogtreecommitdiffstats
path: root/apps/s_cb.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-08-12 17:44:32 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-08-12 17:44:32 +0000
commit710069c19ee1795dfd614a4ba683d07e1b8e6f81 (patch)
treedc8522ce253e9841f209433a49b6fa12c932d98f /apps/s_cb.c
parentddd3a617ca96914707fc414200b445b52fe6c0ad (diff)
Fix warnings.
Diffstat (limited to 'apps/s_cb.c')
-rw-r--r--apps/s_cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index fb33dee287..31616bb66d 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -590,7 +590,7 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
BIO_printf(bio, " ...");
BIO_printf(bio, "\n");
}
- BIO_flush(bio);
+ (void)BIO_flush(bio);
}
void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
@@ -648,6 +648,6 @@ void MS_CALLBACK tlsext_cb(SSL *s, int client_server, int type,
BIO_printf(bio, "TLS %s extension \"%s\" (id=%d), len=%d\n",
client_server ? "server": "client",
extname, type, len);
- BIO_dump(bio, data, len);
+ BIO_dump(bio, (char *)data, len);
BIO_flush(bio);
}