diff options
Diffstat (limited to 'doc/examples/ex-client-x509.c')
-rw-r--r-- | doc/examples/ex-client-x509.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/examples/ex-client-x509.c b/doc/examples/ex-client-x509.c index 4a6e19de3b..4fd9c3bccf 100644 --- a/doc/examples/ex-client-x509.c +++ b/doc/examples/ex-client-x509.c @@ -65,8 +65,6 @@ int main(void) */ CHECK(gnutls_init(&session, GNUTLS_CLIENT)); - gnutls_session_set_ptr(session, (void *) "my_host_name"); - CHECK(gnutls_server_name_set(session, GNUTLS_NAME_DNS, "my_host_name", strlen("my_host_name"))); |