diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-09-24 10:52:08 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-09-25 14:26:38 +0200 |
commit | 17bc86f541ec5ac8a4fd1460f8bbe24e76ad236b (patch) | |
tree | 51d2223a39ff0be10ebece72f7adfea2c134516a | |
parent | 9dd4c7b98bdefe7857b49bca74e426081570ab37 (diff) | |
download | gnutls-tmp-signature-fix.tar.gz |
tests: re-purposed client_dsa_key test to match new behavior of the librarytmp-signature-fix
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
-rw-r--r-- | tests/client_dsa_key.c | 6 |
1 files 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); |