summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-01 09:53:19 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-01 09:53:19 +0200
commit4649a32201d1977c9b573ab9328929f5c30dc20b (patch)
treef309572ec26b7b60d34f5d46878e2902fc7f44d2
parent7f155df13ba76f4c1cac9c6862e25b70eb4eec3c (diff)
downloadgnutls-4649a32201d1977c9b573ab9328929f5c30dc20b.tar.gz
explicitly enable openpgp certtype in tests.
-rw-r--r--tests/openpgpself.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/openpgpself.c b/tests/openpgpself.c
index 5d36c3092d..155be766d6 100644
--- a/tests/openpgpself.c
+++ b/tests/openpgpself.c
@@ -170,7 +170,7 @@ client (void)
gnutls_init (&session, GNUTLS_CLIENT);
/* Use default priorities */
- gnutls_priority_set_direct (session, "NORMAL", NULL);
+ gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
/* put the x509 credentials to the current session
*/
@@ -270,7 +270,7 @@ initialize_tls_session (void)
/* avoid calling all the priority functions, since the defaults
* are adequate.
*/
- gnutls_priority_set_direct (session, "NORMAL", NULL);
+ gnutls_priority_set_direct (session, "NORMAL:+CTYPE-OPENPGP", NULL);
gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, pgp_cred);