apache
Function ssl_array_index is unused when !HAVE_TLS_ALPN
Bug fixed by commit 0ddfa412ee9
Type | DeadCode |
Config | "!HAVE_TLS_ALPN" (1st degree) |
Fix-in | mapping |
Location | modules/ssl/ |
void ssl_array_index() { } #ifdef HAVE_TLS_ALPN void ssl_cmp_alpn_protos() { ssl_array_index(); } void ssl_callback_alpn_select() { ssl_cmp_alpn_protos(); } #endif int main(void) { #ifdef HAVE_TLS_ALPN ssl_callback_alpn_select(); #endif return 0; }
. // if HAVE_TLS_ALPN is disabled . ERROR modules/ssl/ssl_engine_kernel.c:2165:ssl_array_index()