1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

bignum: Print ssh_make_string_bn() using SSH_LOG()

Fixes T188

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Andreas Schneider
2019-11-08 11:51:15 +01:00
parent 64cd7e7ce2
commit 64155b4f97

View File

@@ -69,7 +69,8 @@ bignum ssh_make_string_bn(ssh_string string)
size_t len = ssh_string_len(string); size_t len = ssh_string_len(string);
#ifdef DEBUG_CRYPTO #ifdef DEBUG_CRYPTO
fprintf(stderr, "Importing a %zu bits, %zu bytes object ...\n", SSH_LOG(SSH_LOG_TRACE,
"Importing a %zu bits, %zu bytes object ...\n",
len * 8, len); len * 8, len);
#endif /* DEBUG_CRYPTO */ #endif /* DEBUG_CRYPTO */