diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-03 18:52:22 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-03 19:01:38 +0100 |
commit | ce79b7b3edf69e6e3991a1d2d81945579160f326 (patch) | |
tree | c432e3447adc88326b6d1c2db803c1f28351ef26 /tests/openpgpself.c | |
parent | 8fd1b8c504d82848bf73120412aab9b40cdfb8de (diff) | |
download | gnutls-ce79b7b3edf69e6e3991a1d2d81945579160f326.tar.gz |
tests: updated the suite to account for the removal of DSA by default
Diffstat (limited to 'tests/openpgpself.c')
-rw-r--r-- | tests/openpgpself.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgpself.c b/tests/openpgpself.c index 4fd2522965..52768c6526 100644 --- a/tests/openpgpself.c +++ b/tests/openpgpself.c @@ -174,7 +174,7 @@ static void client(int sds[]) /* Use default priorities */ gnutls_priority_set_direct(session, - "NORMAL:+CTYPE-OPENPGP", NULL); + "NORMAL:+CTYPE-OPENPGP:+DHE-DSS:+DHE-DSS:+SIGN-DSA-SHA1:+SIGN-DSA-SHA256", NULL); /* put the x509 credentials to the current session */ @@ -258,7 +258,7 @@ static gnutls_session_t initialize_tls_session(void) /* avoid calling all the priority functions, since the defaults * are adequate. */ - gnutls_priority_set_direct(session, "NORMAL:+CTYPE-OPENPGP", NULL); + gnutls_priority_set_direct(session, "NORMAL:+CTYPE-OPENPGP:+DHE-DSS:+SIGN-DSA-SHA1:+SIGN-DSA-SHA256", NULL); gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, pgp_cred); |