]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: re-purposed client_dsa_key test to match new behavior of the library
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 24 Sep 2017 08:52:08 +0000 (10:52 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 25 Sep 2017 12:26:38 +0000 (14:26 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
tests/client_dsa_key.c

index eb2794ea8135cc6319c116dbb08a9ed0999a40a9..9e5dec3cda8b5009f66ac93cf39c041e732628c7 100644 (file)
@@ -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);