diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-17 07:02:41 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-10-17 07:02:41 +0000 |
commit | fcc24058d4a76f6a69fd74fd5cae8c8b4f732286 (patch) | |
tree | d11b679f88d03aced99eb6d6105d723523816795 | |
parent | 862979c6f2d6ecaadeb4a1fe0e4c5365df65909b (diff) | |
download | gnutls-fcc24058d4a76f6a69fd74fd5cae8c8b4f732286.tar.gz |
corrected a bug in the debugging output of handshake. Pointed out by Mark McLoughlin <mark@skynet.ie>.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | lib/gnutls_handshake.c | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,6 @@ +Version 0.9.91 +- Fixed a compilation issue in the openpgp authentication part. + Version 0.9.90 (08/10/2003) - Updated the openpgp key API (depends on the unreleased new opencdk). diff --git a/lib/gnutls_handshake.c b/lib/gnutls_handshake.c index bc8fea6bbc..9e6da4e8f4 100644 --- a/lib/gnutls_handshake.c +++ b/lib/gnutls_handshake.c @@ -551,12 +551,14 @@ int _gnutls_server_select_suite(gnutls_session session, opaque *data, int datale } #ifdef HANDSHAKE_DEBUG - memcpy( &cs.CipherSuite, &data[j], 2); _gnutls_handshake_log("HSK[%x]: Requested cipher suites: \n", session); - for (j = 0; j < datalen; j += 2) + for (j = 0; j < datalen; j += 2) { + memcpy( &cs.CipherSuite, &data[j], 2); + _gnutls_handshake_log("\t%s\n", _gnutls_cipher_suite_get_name(cs)); + } _gnutls_handshake_log("HSK[%x]: Supported cipher suites: \n", session); for (j = 0; j < x; j++) _gnutls_handshake_log("\t%s\n", |