From 64155b4f97106f34d69821b45af43d56f1ed0db1 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 8 Nov 2019 11:51:15 +0100 Subject: [PATCH] bignum: Print ssh_make_string_bn() using SSH_LOG() Fixes T188 Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- src/bignum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bignum.c b/src/bignum.c index a2092385..ef8de31f 100644 --- a/src/bignum.c +++ b/src/bignum.c @@ -69,7 +69,8 @@ bignum ssh_make_string_bn(ssh_string string) size_t len = ssh_string_len(string); #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); #endif /* DEBUG_CRYPTO */