summaryrefslogtreecommitdiff
path: root/tests/rehandshake-switch-srp-id.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rehandshake-switch-srp-id.c')
-rw-r--r--tests/rehandshake-switch-srp-id.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rehandshake-switch-srp-id.c b/tests/rehandshake-switch-srp-id.c
index 91de6fc96e..0b5608505a 100644
--- a/tests/rehandshake-switch-srp-id.c
+++ b/tests/rehandshake-switch-srp-id.c
@@ -257,15 +257,15 @@ void doit(void)
{
global_init();
/* Allow change of ID */
- try("NORMAL:-KX-ALL:+SRP", GNUTLS_KX_SRP, 0);
+ try("NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+SRP", GNUTLS_KX_SRP, 0);
reset_buffers();
- try("NORMAL:-KX-ALL:+SRP-RSA", GNUTLS_KX_SRP_RSA, 0);
+ try("NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+SRP-RSA", GNUTLS_KX_SRP_RSA, 0);
reset_buffers();
/* Prohibit (default) change of ID */
- try("NORMAL:-KX-ALL:+SRP", GNUTLS_KX_SRP, 1);
+ try("NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+SRP", GNUTLS_KX_SRP, 1);
reset_buffers();
- try("NORMAL:-KX-ALL:+SRP-RSA", GNUTLS_KX_SRP_RSA, 1);
+ try("NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+SRP-RSA", GNUTLS_KX_SRP_RSA, 1);
reset_buffers();
gnutls_global_deinit();
}