diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-14 15:27:55 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-01-14 15:27:55 +0100 |
commit | 0e21f3fc1952a8965bba89f2e8eb994e38070f12 (patch) | |
tree | f36b3c4557b0a1a3b3f6ab16d898e0304cd4968f /tests/x509dn.c | |
parent | 28664e94c1ab301bd90263088c4bd6265c6bf750 (diff) | |
download | gnutls-0e21f3fc1952a8965bba89f2e8eb994e38070f12.tar.gz |
use gnutls_priority_set_direct() to set a fixed priority string
Diffstat (limited to 'tests/x509dn.c')
-rw-r--r-- | tests/x509dn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/x509dn.c b/tests/x509dn.c index 581de8b6b3..df43138824 100644 --- a/tests/x509dn.c +++ b/tests/x509dn.c @@ -213,7 +213,7 @@ static void client(int sd) gnutls_init(&session, GNUTLS_CLIENT); /* Use default priorities */ - gnutls_set_default_priority(session); + gnutls_priority_set_direct(session, "NORMAL", NULL); /* put the x509 credentials to the current session */ @@ -380,7 +380,7 @@ char buffer[MAX_BUF + 1]; /* avoid calling all the priority functions, since the defaults * are adequate. */ - gnutls_set_default_priority(session); + gnutls_priority_set_direct(session, "NORMAL", NULL); gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred); |