summaryrefslogtreecommitdiff
path: root/tests/utils.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-10-16 16:05:15 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:37 +0100
commitdb486d97c53725fe7917f1a4cb272e7e83536021 (patch)
treef8d3c168cc3d46d2d47ee5fc921349a292abf7d1 /tests/utils.h
parent8e96ba96acc105dc7882626e688d2602cc934474 (diff)
downloadgnutls-db486d97c53725fe7917f1a4cb272e7e83536021.tar.gz
tests: enhanced OCSP tests
* Run tests under TLS1.2 and TLS1.3 * Verify whether multiple OCSP responses are received in client side, under TLS1.3. * Verify that OCSP status responses can be sent by client under TLS1.3 * Verify operation of gnutls_certificate_retrieve_function3 * Verify operation when multiple OCSP responses by file are set Resolves #307 Resolves #291 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/utils.h')
-rw-r--r--tests/utils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/utils.h b/tests/utils.h
index a6ef3e4600..1247402e9f 100644
--- a/tests/utils.h
+++ b/tests/utils.h
@@ -98,6 +98,17 @@ void test_cli_serv(gnutls_certificate_credentials_t server_cred,
void *priv,
callback_func * client_cb, callback_func * server_cb);
+int
+_test_cli_serv(gnutls_certificate_credentials_t server_cred,
+ gnutls_certificate_credentials_t client_cred,
+ const char *serv_prio, const char *cli_prio,
+ const char *host,
+ void *priv, callback_func *client_cb, callback_func *server_cb,
+ unsigned expect_verification_failure,
+ unsigned require_cert,
+ int serv_err,
+ int cli_err);
+
void print_dh_params_info(gnutls_session_t);
void