From 17bc86f541ec5ac8a4fd1460f8bbe24e76ad236b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 24 Sep 2017 10:52:08 +0200 Subject: tests: re-purposed client_dsa_key test to match new behavior of the library Signed-off-by: Nikos Mavrogiannopoulos --- tests/client_dsa_key.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/client_dsa_key.c b/tests/client_dsa_key.c index eb2794ea81..9e5dec3cda 100644 --- a/tests/client_dsa_key.c +++ b/tests/client_dsa_key.c @@ -42,8 +42,8 @@ #include "utils.h" #include "cert-common.h" -/* Test for correct operation when a client uses a DSA key when the server - * has DSA signatures enabled but not the client. +/* Test for correct operation when a client uses a DSA key and + * explicitly enables DSA signatures under TLS 1.2. * */ @@ -98,7 +98,7 @@ void doit(void) exit(1); } - test_cli_serv_cert(serv_cred, cli_cred, "NORMAL:+DHE-DSS:+SIGN-DSA-SHA1", "NORMAL:-DHE-DSS:-SIGN-DSA-SHA1", "localhost"); + test_cli_serv_cert(serv_cred, cli_cred, "NORMAL:+DHE-DSS:+SIGN-DSA-SHA1", "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2:-DHE-DSS:+SIGN-DSA-SHA1", "localhost"); gnutls_certificate_free_credentials(serv_cred); gnutls_certificate_free_credentials(cli_cred); -- cgit v1.2.1