summaryrefslogtreecommitdiff
path: root/board/cr50/dcrypto/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/dcrypto/x509.c')
-rw-r--r--board/cr50/dcrypto/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cr50/dcrypto/x509.c b/board/cr50/dcrypto/x509.c
index e8f5220e23..a4bcdf2630 100644
--- a/board/cr50/dcrypto/x509.c
+++ b/board/cr50/dcrypto/x509.c
@@ -248,7 +248,7 @@ static size_t asn1_parse(const uint8_t **p, size_t available,
obj_len = in[1];
obj_len_bytes = 1;
} else {
- int i;
+ size_t i;
obj_len_bytes = 1 + (in[1] & 127);
if (obj_len_bytes > MAX_ASN1_OBJ_LEN_BYTES ||