Commit 17a6916a authored by Stefan Metzmacher's avatar Stefan Metzmacher Committed by AndersBroman
Browse files

epan/to_str: change MAX_BYTE_STR_LEN from 48 to 72

We want things like aes-256 keys to be displayed completely.

Change-Id: I746f3282440c036cfb60263be40e3b3a6ed859c2
Signed-off-by: Stefan Metzmacher's avatarStefan Metzmacher <>

Petri-Dish: Alexis La Goutte <>
Tested-by: Petri Dish Buildbot
Reviewed-by: AndersBroman's avatarAnders Broman <>
parent 82ed8918
Pipeline #112415139 passed with stages
in 47 minutes and 12 seconds
......@@ -171,7 +171,7 @@ bytes_to_hexstr_punct(char *out, const guint8 *ad, guint32 len, char punct)
/* Max string length for displaying byte string. */
#define MAX_BYTE_STR_LEN 48
#define MAX_BYTE_STR_LEN 72
/* Routine to convert a sequence of bytes to a hex string, one byte/two hex
* digits at at a time, with a specified punctuation character between
......@@ -338,7 +338,7 @@ class case_sharkd(subprocesstest.SubprocessTestCase):
"f": "dhcp",
"e": MatchAny(int),
"n": MatchList({
"l": "Padding: 000000000000000000000000000000000000000000000000",
"l": "Padding: 0000000000000000000000000000000000000000000000000000",
"h": [316, 26],
"f": "dhcp.option.padding == 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00"
}, match_element=any), # match one element from 'n'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment