Commit 591a74a6 authored by Niels Möller's avatar Niels Möller
Browse files

(print_hex): Use const.

Rev: src/nettle/testsuite/testutils.c:1.22
Rev: src/nettle/testsuite/testutils.h:1.18
parent 9f90db01
...@@ -109,7 +109,7 @@ decode_hex_dup(const char *hex) ...@@ -109,7 +109,7 @@ decode_hex_dup(const char *hex)
} }
void void
print_hex(unsigned length, uint8_t *data) print_hex(unsigned length, const uint8_t *data)
{ {
unsigned i; unsigned i;
......
...@@ -35,7 +35,7 @@ const uint8_t * ...@@ -35,7 +35,7 @@ const uint8_t *
decode_hex_dup(const char *hex); decode_hex_dup(const char *hex);
void void
print_hex(unsigned length, uint8_t *data); print_hex(unsigned length, const uint8_t *data);
/* The main program */ /* The main program */
int int
......
Markdown is supported
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