diff options
author | Michael Hanselmann <public@hansmi.ch> | 2021-08-13 23:21:58 +0200 |
---|---|---|
committer | Michael Hanselmann <public@hansmi.ch> | 2021-08-13 23:21:58 +0200 |
commit | 6ff5aa5050f87515d95fc458a4867cc13a3d1a4a (patch) | |
tree | ecadef9a4bb30c31489af860c93b0716019c3502 /usbredirparser/usbredirparser.c | |
parent | 6c5af4ea3bfae915a0498ff062d8b188844b8ee8 (diff) |
Move usbredirparser magic value to public header
Currently the fuzzer hardcodes the value of the USBREDIRPARSER_SERIALIZE_MAGIC
constant. Move it to usbredirparser.h to allow for its reuse in the fuzzer.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
Diffstat (limited to 'usbredirparser/usbredirparser.c')
-rw-r--r-- | usbredirparser/usbredirparser.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usbredirparser/usbredirparser.c b/usbredirparser/usbredirparser.c index 784f2e1..383b77f 100644 --- a/usbredirparser/usbredirparser.c +++ b/usbredirparser/usbredirparser.c @@ -1496,7 +1496,6 @@ void usbredirparser_send_buffered_bulk_packet(struct usbredirparser *parser, /****** Serialization support ******/ -#define USBREDIRPARSER_SERIALIZE_MAGIC 0x55525031 #define USBREDIRPARSER_SERIALIZE_BUF_SIZE 65536 /* Serialization format, send and receiving endian are expected to be the same! |