diff options
Diffstat (limited to 'tests/mini-x509.c')
-rw-r--r-- | tests/mini-x509.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/mini-x509.c b/tests/mini-x509.c index c4240fdb7c..ba578f145a 100644 --- a/tests/mini-x509.c +++ b/tests/mini-x509.c @@ -250,6 +250,18 @@ void doit(void) } } + ret = gnutls_session_ext_master_secret_status(client); + if (ret != 1) { + fprintf(stderr, "Extended master secret wasn't negotiated by default (client ret: %d)\n", ret); + exit(1); + } + + ret = gnutls_session_ext_master_secret_status(server); + if (ret != 1) { + fprintf(stderr, "Extended master secret wasn't negotiated by default (server ret: %d)\n", ret); + exit(1); + } + gnutls_bye(client, GNUTLS_SHUT_RDWR); gnutls_bye(server, GNUTLS_SHUT_RDWR); |