summaryrefslogtreecommitdiff
path: root/tests/mini-x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mini-x509.c')
-rw-r--r--tests/mini-x509.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mini-x509.c b/tests/mini-x509.c
index c26b13f716..a4fb56e991 100644
--- a/tests/mini-x509.c
+++ b/tests/mini-x509.c
@@ -113,6 +113,9 @@ void start(const char *prio, unsigned expect_max)
HANDSHAKE(client, server);
+ assert((gnutls_session_get_flags(server) & GNUTLS_SFLAGS_CLI_REQUESTED_OCSP) != 0);
+ assert((gnutls_session_get_flags(client) & GNUTLS_SFLAGS_CLI_REQUESTED_OCSP) != 0);
+
/* check gnutls_certificate_get_ours() - client side */
{
const gnutls_datum_t *mcert;