include: Mark ssh_print_hexa as deprecated

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2019-02-07 09:46:13 +01:00
parent c0102e6a59
commit b84949b32c
2 changed files with 2 additions and 8 deletions

View File

@@ -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);