From 3f639a0f0bc607e8f4b3c33b68f29e3950da7a3a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 8 Dec 2016 13:54:53 +0100 Subject: tests: added check with failed verification on invalid UTF-8 That is, check whether raw UTF-8 in the certificate will fail verification. Raw UTF-8 is prohibited by IETF PKIX (RFC5280) on a certificate. --- tests/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/utils.h') diff --git a/tests/utils.h b/tests/utils.h index f5d11476b4..9b06df8e7c 100644 --- a/tests/utils.h +++ b/tests/utils.h @@ -105,6 +105,7 @@ test_cli_serv_expect(gnutls_certificate_credentials_t server_cred, const char *serv_prio, const char *cli_prio, const char *host, int serv_err, int cli_err); +/* verification failed */ unsigned test_cli_serv_vf(gnutls_certificate_credentials_t server_cred, gnutls_certificate_credentials_t client_cred, -- cgit v1.2.1