summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-01 09:54:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-09-01 09:54:07 +0200
commit84a1e42a3a0455eaa3753dbf001825336962bc07 (patch)
tree11c94b104a305b4f5f078688314ddae6b490a0e8
parent0e03d097ade12cfb170154b6065bd6c3115606c3 (diff)
downloadgnutls-84a1e42a3a0455eaa3753dbf001825336962bc07.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 388385c164..8fc9c6e3df 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);