apache
Macro SSL_PROTOCOL_TLSV1_1 is not declared when !HAVE_TLSV1_X.
Bug fixed by commit 1a3c8e3d840
Type | UndeclaredIdentifier |
Config | "!HAVE_TLSV1_X" (1st degree) |
Fix-in | mapping |
Location | modules/ssl/ |
#include <stdlib.h> #ifdef HAVE_TLSV1_X #define SSL_PROTOCOL_TLSV1_1 (1<<3) #endif void ssl_cmd_protocol_parse() { int thisopt; if (rand() % 2) { thisopt = SSL_PROTOCOL_TLSV1_1; } } int main(void) { ssl_cmd_protocol_parse(); return 0; }
. // if HAVE_TLSV1_X is disabled . ERROR modules/ssl/ssl_engine_config.c:1288:thisopt = SSL_PROTOCOL_TLSV1_1;