remove the util function dump_hex() in favor of dump_data()

This commit is contained in:
Klas Lindfors
2015-12-15 10:27:54 +01:00
parent 30cc13aaff
commit a143c6d67d
4 changed files with 14 additions and 19 deletions
-4
View File
@@ -218,10 +218,6 @@ void dump_data(const unsigned char *buf, unsigned int len, FILE *output, bool sp
}
}
void dump_hex(const unsigned char *buf, unsigned int len, FILE *output, bool space) {
dump_data(buf, len, output, space, format_arg_hex);
}
int get_length(const unsigned char *buffer, int *len) {
if(buffer[0] < 0x81) {
*len = buffer[0];