diff options
author | Stefan Bühler <stbuehler@web.de> | 2013-08-18 21:45:04 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-08-25 01:32:20 +0300 |
commit | 0c382d457fa3d7af102798c2c6cb90919349675d (patch) | |
tree | 47e906ab1430a84249b7b4677651b90a800385a7 /tests/dhepskself.c | |
parent | 9b3fccf68d34a96585bb4311e7b2d7dd86864e91 (diff) | |
download | gnutls-0c382d457fa3d7af102798c2c6cb90919349675d.tar.gz |
fix transport parameter casts in tests
Diffstat (limited to 'tests/dhepskself.c')
-rw-r--r-- | tests/dhepskself.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dhepskself.c b/tests/dhepskself.c index ef7373bae2..dcb91fa15e 100644 --- a/tests/dhepskself.c +++ b/tests/dhepskself.c @@ -94,7 +94,7 @@ client (int sd) */ gnutls_credentials_set (session, GNUTLS_CRD_PSK, pskcred); - gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd); + gnutls_transport_set_int (session, sd); /* Perform the TLS handshake */ @@ -227,7 +227,7 @@ server (int sd) session = initialize_tls_session (); - gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd); + gnutls_transport_set_int (session, sd); ret = gnutls_handshake (session); if (ret < 0) { |