diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2013-11-01 16:57:07 -0400 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-02 08:43:25 +0100 |
commit | 890f82cc888b6990e678ab589ae6ff88cf314a5f (patch) | |
tree | fbef5394de7beeacfc69932239c906030c4271ef /src | |
parent | db490837d8a388e2d306e22d5f108de7a1d16634 (diff) | |
download | gnutls-890f82cc888b6990e678ab589ae6ff88cf314a5f.tar.gz |
fix DHE parameter output for gnutls-cli-debug --verbose
gnutls_handshake() was failing during test_dhe_group, with an error of
GNUTLS_E_NO_PRIORITIES_WERE_SET. Adding this call fixes the handshake
so that DHE group details can be printed when requested.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests.c b/src/tests.c index 43d1c78061..4aeaa0f3ed 100644 --- a/src/tests.c +++ b/src/tests.c @@ -265,6 +265,7 @@ test_dhe_group (gnutls_session_t session) sprintf (prio_str, INIT_STR ALL_CIPHERS ":" ALL_COMP ":" ALL_CERTTYPES ":%s:" ALL_MACS ":+DHE-RSA:+DHE-DSS:%s", protocol_str, rest); + _gnutls_priority_set_direct (session, prio_str); gnutls_credentials_set (session, GNUTLS_CRD_CERTIFICATE, xcred); |