diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-09-05 06:20:58 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-09-05 06:21:00 +0200 |
commit | 5007a9758a74e4d74721c0dba38f5e868c577df0 (patch) | |
tree | ba72e8c1e18d27a632dd23b21fa7a21ab3d07b37 /tests/auto-verify.c | |
parent | 108f26f86c6094588656e1a4de73029b52aed177 (diff) | |
download | gnutls-5007a9758a74e4d74721c0dba38f5e868c577df0.tar.gz |
renamed the auto-verification functions
The names are more consistent with the rest of the library.
Diffstat (limited to 'tests/auto-verify.c')
-rw-r--r-- | tests/auto-verify.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto-verify.c b/tests/auto-verify.c index 33acd2856c..afd489105d 100644 --- a/tests/auto-verify.c +++ b/tests/auto-verify.c @@ -278,7 +278,7 @@ void test_failure(void) vdata[1].type = GNUTLS_DT_KEY_PURPOSE_OID; vdata[1].data = (void*)GNUTLS_KP_TLS_WWW_SERVER; - gnutls_session_auto_verify_cert2(client, vdata, 2, 0); + gnutls_session_set_verify_cert2(client, vdata, 2, 0); HANDSHAKE_EXPECT(client, server, GNUTLS_E_CERTIFICATE_VERIFICATION_ERROR, GNUTLS_E_AGAIN); @@ -403,7 +403,7 @@ void test_success1(void) vdata[1].type = GNUTLS_DT_KEY_PURPOSE_OID; vdata[1].data = (void*)GNUTLS_KP_TLS_WWW_SERVER; - gnutls_session_auto_verify_cert2(client, vdata, 2, 0); + gnutls_session_set_verify_cert2(client, vdata, 2, 0); HANDSHAKE(client, server); @@ -518,7 +518,7 @@ void test_success2(void) gnutls_transport_set_pull_function(client, client_pull); gnutls_transport_set_ptr(client, client); - gnutls_session_auto_verify_cert(client, "localhost", 0); + gnutls_session_set_verify_cert(client, "localhost", 0); HANDSHAKE(client, server); |