From d2f1bd67662a565a05016b3e908b617aa10c264e Mon Sep 17 00:00:00 2001 From: Vitali Lovich Date: Wed, 16 Aug 2017 17:34:23 -0700 Subject: [PATCH] Fix static annotation for uECC_valid_point Resolves #124 --- uECC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uECC.c b/uECC.c index daa144a..c08b7ac 100644 --- a/uECC.c +++ b/uECC.c @@ -1115,7 +1115,7 @@ void uECC_decompress(const uint8_t *compressed, uint8_t *public_key, uECC_Curve } #endif /* uECC_SUPPORT_COMPRESSED_POINT */ -int uECC_valid_point(const uECC_word_t *point, uECC_Curve curve) { +uECC_VLI_API int uECC_valid_point(const uECC_word_t *point, uECC_Curve curve) { uECC_word_t tmp1[uECC_MAX_WORDS]; uECC_word_t tmp2[uECC_MAX_WORDS]; wordcount_t num_words = curve->num_words;