aboutsummaryrefslogtreecommitdiff
path: root/crypto/modes/gcm_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/modes/gcm_test.c')
-rw-r--r--crypto/modes/gcm_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/modes/gcm_test.c b/crypto/modes/gcm_test.c
index e543348..56639e6 100644
--- a/crypto/modes/gcm_test.c
+++ b/crypto/modes/gcm_test.c
@@ -282,8 +282,10 @@ static int decode_hex(uint8_t **out, size_t *out_len, const char *in,
uint8_t v, v2;
if (!from_hex(&v, in[i]) ||
!from_hex(&v2, in[i+1])) {
- fprintf(stderr, "%u: invalid hex digit in %s around offset %u.\n",
- test_num, description, (unsigned)i);
+ fprintf(stderr,
+ "%u: invalid hex digit in %s around offset %" OPENSSL_PR_SIZE_T
+ ".\n",
+ test_num, description, i);
goto err;
}
buf[i/2] = (v << 4) | v2;