diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2019-07-29 17:40:35 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-07-30 13:26:29 +0200 |
commit | 68baebbd6222995ca5aceac1d9dac53fe0b8a7c0 (patch) | |
tree | 3fb7de340930ca65d218957fca5a0b50460511e3 /src/ecdh_gcrypt.c | |
parent | 33927f3ae84501c9bcafc3133ec6fd06440beebc (diff) | |
download | libssh-68baebbd6222995ca5aceac1d9dac53fe0b8a7c0.tar.gz libssh-68baebbd6222995ca5aceac1d9dac53fe0b8a7c0.tar.xz libssh-68baebbd6222995ca5aceac1d9dac53fe0b8a7c0.zip |
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>
Diffstat (limited to 'src/ecdh_gcrypt.c')
-rw-r--r-- | src/ecdh_gcrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ecdh_gcrypt.c b/src/ecdh_gcrypt.c index 473846b8..3c3fe8f0 100644 --- a/src/ecdh_gcrypt.c +++ b/src/ecdh_gcrypt.c @@ -242,9 +242,9 @@ int ecdh_build_k(ssh_session session) session->next_crypto->ecdh_privkey = NULL; #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 |