Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

tests/test_common_openssl.c:218:24: error: use of undeclared identifier 'INT_MAX' #122

Open
1 task done
holsta opened this issue Feb 10, 2019 · 1 comment
Open
1 task done

Comments

@holsta
Copy link

holsta commented Feb 10, 2019

I have:

  • searched open and closed issues for duplicates

Bug description

tests/test_common_openssl.c should compile. It does not due to missing <limits.h>.

Fix

Index: tests/test_common_openssl.c
--- tests/test_common_openssl.c.orig
+++ tests/test_common_openssl.c
@@ -5,6 +5,7 @@
 #include <openssl/hmac.h>
 #include <openssl/rand.h>
 #include <openssl/sha.h>
+#include <limits.h>
 
 int test_random_generator(uint8_t *data, size_t len, void *user_data)
 {

@bmakos
Copy link

bmakos commented Dec 19, 2019

This seems fixed on Jan 7th by commit c40219a. Not sure why it is still open. Is there no management done on these Issues?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants