aboutsummaryrefslogtreecommitdiff
path: root/src/ecdh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecdh.c')
-rw-r--r--src/ecdh.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ecdh.c b/src/ecdh.c
index 292e997..bc0b03c 100644
--- a/src/ecdh.c
+++ b/src/ecdh.c
@@ -111,9 +111,11 @@ static int ecdh_build_k(ssh_session session) {
EC_KEY_free(session->next_crypto->ecdh_privkey);
session->next_crypto->ecdh_privkey=NULL;
#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);
+ ssh_print_hexa("Session server cookie",
+ session->next_crypto->server_kex.cookie, 16);
+ ssh_print_hexa("Session client cookie",
+ session->next_crypto->client_kex.cookie, 16);
+ ssh_print_bignum("Shared secret key", session->next_crypto->k);
#endif
#ifdef HAVE_LIBCRYPTO