Replace ssh_print_hexa() with ssh_log_hexdump()

Replace all occurrences of the deprecated function ssh_print_hexa() with
the introduced ssh_log_hexdump().

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Anderson Toshiyuki Sasaki
2019-07-29 17:40:35 +02:00
committed by Andreas Schneider
parent 33927f3ae8
commit 68baebbd62
11 changed files with 59 additions and 59 deletions

View File

@@ -101,9 +101,9 @@ static int ssh_curve25519_build_k(ssh_session session) {
}
#ifdef DEBUG_CRYPTO
ssh_print_hexa("Session server cookie",
ssh_log_hexdump("Session server cookie",
session->next_crypto->server_kex.cookie, 16);
ssh_print_hexa("Session client cookie",
ssh_log_hexdump("Session client cookie",
session->next_crypto->client_kex.cookie, 16);
ssh_print_bignum("Shared secret key", session->next_crypto->shared_secret);
#endif