diff options
Diffstat (limited to 'tests/safe-renegotiation/srn3.c')
-rw-r--r-- | tests/safe-renegotiation/srn3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/safe-renegotiation/srn3.c b/tests/safe-renegotiation/srn3.c index aef6f18fe4..ecade2afad 100644 --- a/tests/safe-renegotiation/srn3.c +++ b/tests/safe-renegotiation/srn3.c @@ -115,7 +115,7 @@ void doit(void) NULL); gnutls_transport_set_push_function (server, server_push); gnutls_transport_set_pull_function (server, server_pull); - gnutls_transport_set_ptr (server, (gnutls_transport_ptr_t)server); + gnutls_transport_set_ptr (server, server); /* Init client */ gnutls_certificate_allocate_credentials (&clientx509cred); @@ -124,7 +124,7 @@ void doit(void) gnutls_priority_set_direct (client, "NORMAL:%SAFE_RENEGOTIATION", NULL); gnutls_transport_set_push_function (client, client_push); gnutls_transport_set_pull_function (client, client_pull); - gnutls_transport_set_ptr (client, (gnutls_transport_ptr_t)client); + gnutls_transport_set_ptr (client, client); /* Check that initially no session use the extension. */ if (gnutls_safe_renegotiation_status (server) |