From 279c5843355a4c12bd4fe33ebafedeefe1373bd8 Mon Sep 17 00:00:00 2001 From: Mathias Tausig Date: Mon, 4 Oct 2021 21:43:13 +0200 Subject: [PATCH] module/credman: Adapt to tiny-asn1 changes --- sys/net/credman/credman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/credman/credman.c b/sys/net/credman/credman.c index b50d3fe8bf..1f8ca6b513 100644 --- a/sys/net/credman/credman.c +++ b/sys/net/credman/credman.c @@ -359,8 +359,8 @@ static int _parse_ecc_point(const asn1_tree *key, const void **x, const void **y } size_t coords_len = (key->length - 2) / 2; - uint8_t *_x = &key->data[2]; /* skip format specifier and unused bits */ - uint8_t *_y = &_x[coords_len]; + const uint8_t *_x = &key->data[2]; /* skip format specifier and unused bits */ + const uint8_t *_y = &_x[coords_len]; *x = _x; *y = _y;