diff options
author | Justus Winter <justus@g10code.com> | 2016-03-29 13:07:03 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-05-02 11:55:38 +0200 |
commit | 878a650c7a1907fb3daa51d1de78417165e397c0 (patch) | |
tree | 2a06b246bc6f5900a7ae05b33fbabae06458a1f3 /src/dh.c | |
parent | e518ec1cb7c50a4070eed5a63541e77ed902617b (diff) | |
download | libssh-878a650c7a1907fb3daa51d1de78417165e397c0.tar.gz libssh-878a650c7a1907fb3daa51d1de78417165e397c0.tar.xz libssh-878a650c7a1907fb3daa51d1de78417165e397c0.zip |
dh: Print hexadecimal data to stderr
* src/dh.c (ssh_print_hexa): Print to stderr.
Signed-off-by: Justus Winter <justus@g10code.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/dh.c')
-rw-r--r-- | src/dh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1134,7 +1134,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); } |