aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-02-07 09:46:13 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-02-07 09:46:13 +0100
commitb84949b32c67dc835f328c57b2f49114ddb3f481 (patch)
treefb0de8cce4172f12bb13cc64760bc0c0b5c7a79f /src/misc.c
parentc0102e6a5953789ccda93e8dea956e8cc8a046e9 (diff)
downloadlibssh-b84949b32c67dc835f328c57b2f49114ddb3f481.tar.gz
libssh-b84949b32c67dc835f328c57b2f49114ddb3f481.tar.xz
libssh-b84949b32c67dc835f328c57b2f49114ddb3f481.zip
include: Mark ssh_print_hexa as deprecated
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/misc.c b/src/misc.c
index 070a7766..a048637f 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -370,13 +370,7 @@ char *ssh_get_hexa(const unsigned char *what, size_t len) {
}
/**
- * @brief Print a buffer as colon separated hex string.
- *
- * @param descr Description printed in front of the hex string.
- *
- * @param what What should be converted to a hex string.
- *
- * @param len Length of the buffer to convert.
+ * @deprecated Please use ssh_print_hash() instead
*/
void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len) {
char *hexa = ssh_get_hexa(what, len);