diff options
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r-- | apps/s_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index 727425744c..cf43301df2 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -291,7 +291,7 @@ int do_server(int port, int *ret, int (*cb)(char *hostname, int s, unsigned char SHUTDOWN(accept_socket); return(0); } - i=(*cb)(name,sock, context); + i=(*cb)(name,sock, (unsigned char *)context); if (name != NULL) OPENSSL_free(name); SHUTDOWN2(sock); if (i < 0) |