summaryrefslogtreecommitdiff
path: root/tests/openpgp-auth.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-09 23:17:48 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-02-09 23:18:46 +0100
commite2780fb07b38af49807b725421f9aec97f3f8b99 (patch)
tree385dc44b2ace021d99164078d8aa8de2b365815f /tests/openpgp-auth.c
parent499ffc306da6ce7b275bdccb9fde2aa2d83c506f (diff)
downloadgnutls-e2780fb07b38af49807b725421f9aec97f3f8b99.tar.gz
Added new test openpgp-auth2.c that tests openpgp under TLS1.2
and DSS as well.
Diffstat (limited to 'tests/openpgp-auth.c')
-rw-r--r--tests/openpgp-auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgp-auth.c b/tests/openpgp-auth.c
index 2622f7749d..eed99c1641 100644
--- a/tests/openpgp-auth.c
+++ b/tests/openpgp-auth.c
@@ -113,7 +113,7 @@ doit ()
if (err != 0)
fail ("client session %d\n", err);
- gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP:-CTYPE-X.509", NULL);
+ gnutls_priority_set_direct (session, "NONE:+VERS-TLS1.0:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+DHE-DSS:+CTYPE-OPENPGP", NULL);
gnutls_transport_set_ptr (session,
(gnutls_transport_ptr_t) (intptr_t)
sockets[0]);
@@ -176,7 +176,7 @@ doit ()
if (err != 0)
fail ("server session %d\n", err);
- gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP:-CTYPE-X.509", NULL);
+ gnutls_priority_set_direct (session, "NONE:+VERS-TLS1.0:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+DHE-DSS:+CTYPE-OPENPGP", NULL);
gnutls_transport_set_ptr (session,
(gnutls_transport_ptr_t) (intptr_t)
sockets[1]);