diff options
Diffstat (limited to 'doc/examples/ex-cert-select-pkcs11.c')
-rw-r--r-- | doc/examples/ex-cert-select-pkcs11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ex-cert-select-pkcs11.c b/doc/examples/ex-cert-select-pkcs11.c index e867926b87..a437a51507 100644 --- a/doc/examples/ex-cert-select-pkcs11.c +++ b/doc/examples/ex-cert-select-pkcs11.c @@ -114,7 +114,7 @@ main (void) */ sd = tcp_connect (); - gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd); + gnutls_transport_set_int (session, sd); /* Perform the TLS handshake */ |