summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index b8d68248..be660888 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -288,6 +288,8 @@ void dh_build_k(SSH_SESSION *session){
}
#endif
#ifdef DEBUG_CRYPTO
+ ssh_print_hexa("session server cookie",session->server_kex.cookie,16);
+ ssh_print_hexa("session client cookie",session->client_kex.cookie,16);
ssh_print_bignum("shared secret key",session->next_crypto->k);
#endif
#ifdef HAVE_LIBCRYPTO