error out if conflicting OPENSSL compat macros are defined

This commit is contained in:
JacobBarthelmeh
2024-05-17 09:24:38 -06:00
parent 7782f8eed2
commit 568ec43213

View File

@@ -3586,6 +3586,11 @@ extern void uITRON4_free(void *p) ;
#endif
#endif
#if (defined(OPENSSL_EXTRA) || defined(OPENSSL_ALL)) && \
defined(OPENSSL_COEXIST)
#error "OPENSSL_EXTRA can not be defined with OPENSSL_COEXIST"
#endif
/* if configure.ac turned on this feature, HAVE_ENTROPY_MEMUSE will be set,
* also define HAVE_WOLFENTROPY */
#ifdef HAVE_ENTROPY_MEMUSE