* src/dh.c (ssh_print_hexa): Print to stderr. Signed-off-by: Justus Winter <[email protected]> --- src/dh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dh.c b/src/dh.c
index 0c57d76..98607b9 100644
--- a/src/dh.c
+++ b/src/dh.c
@@ -1126,7 +1126,7 @@ void ssh_print_hexa(const char *descr, const unsigned
char *what, size_t len) {
if (hexa == NULL) {
return;
}
- printf("%s: %s\n", descr, hexa);
+ fprintf(stderr, "%s: %s\n", descr, hexa);
free(hexa);
}
--
2.1.4
