summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-11-29 20:54:57 +0000
committerNils Larsch <nils@openssl.org>2006-11-29 20:54:57 +0000
commit7806f3dd4b44a0de379b4b8ac3ffc0fc8f249415 (patch)
treefeb5a2ce0100e392703a4989d658fa251e016d01 /apps/s_server.c
parent1e24b3a09e31b10649e5024b502ac3d7276923fe (diff)
replace macros with functions
Submitted by: Tracy Camp <tracyx.e.camp@intel.com>
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index ac43e5aac1..28501eb43a 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -1602,7 +1602,7 @@ static int sv_body(char *hostname, int s, unsigned char *context)
{
con->debug=1;
BIO_set_callback(SSL_get_rbio(con),bio_dump_callback);
- BIO_set_callback_arg(SSL_get_rbio(con),bio_s_out);
+ BIO_set_callback_arg(SSL_get_rbio(con),(char *)bio_s_out);
}
if (s_msg)
{
@@ -2020,7 +2020,7 @@ static int www_body(char *hostname, int s, unsigned char *context)
{
con->debug=1;
BIO_set_callback(SSL_get_rbio(con),bio_dump_callback);
- BIO_set_callback_arg(SSL_get_rbio(con),bio_s_out);
+ BIO_set_callback_arg(SSL_get_rbio(con),(char *)bio_s_out);
}
if (s_msg)
{