summaryrefslogtreecommitdiffstats
path: root/src/core/transport/http/sender/ssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/transport/http/sender/ssl')
-rw-r--r--src/core/transport/http/sender/ssl/ssl_stream.c4
-rw-r--r--src/core/transport/http/sender/ssl/ssl_stream.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/transport/http/sender/ssl/ssl_stream.c b/src/core/transport/http/sender/ssl/ssl_stream.c
index f5aec10..0900487 100644
--- a/src/core/transport/http/sender/ssl/ssl_stream.c
+++ b/src/core/transport/http/sender/ssl/ssl_stream.c
@@ -114,11 +114,11 @@ axutil_stream_create_ssl(
void AXIS2_CALL
axis2_ssl_stream_free(
- axutil_stream_t * stream,
+ void * streamv,
const axutil_env_t * env)
{
ssl_stream_impl_t *stream_impl = NULL;
-
+ axutil_stream_t* stream = (axutil_stream_t*)streamv;
stream_impl = AXIS2_INTF_TO_IMPL(stream);
axis2_ssl_utils_cleanup_ssl(env, stream_impl->ctx, stream_impl->ssl);
AXIS2_FREE(env->allocator, stream_impl);
diff --git a/src/core/transport/http/sender/ssl/ssl_stream.h b/src/core/transport/http/sender/ssl/ssl_stream.h
index 696fc47..7fe9a46 100644
--- a/src/core/transport/http/sender/ssl/ssl_stream.h
+++ b/src/core/transport/http/sender/ssl/ssl_stream.h
@@ -43,7 +43,7 @@ extern "C"
void AXIS2_CALL
axis2_ssl_stream_free(
- axutil_stream_t *stream,
+ void *stream,
const axutil_env_t *env);
/** @} */