signalapp / libsignal-protocol-c

GNU General Public License v3.0
1.41k stars 295 forks source link

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

Open holsta opened 5 years ago

holsta commented 5 years ago

I have:


Bug description

tests/test_common_openssl.c should compile. It does not due to missing .

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 commented 4 years ago

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