MCPcopy Create free account
hub / github.com/apache/httpd / modssl_set_reneg_state

Function modssl_set_reneg_state

modules/ssl/ssl_util_ssl.c:616–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614}
615
616void modssl_set_reneg_state(SSLConnRec *sslconn, modssl_reneg_state state)
617{
618#ifdef SSL_OP_NO_RENEGOTIATION
619 switch (state) {
620 case RENEG_ALLOW:
621 SSL_clear_options(sslconn->ssl, SSL_OP_NO_RENEGOTIATION);
622 break;
623 default:
624 SSL_set_options(sslconn->ssl, SSL_OP_NO_RENEGOTIATION);
625 break;
626 }
627#else
628 sslconn->reneg_state = state;
629#endif
630}

Callers 1

ssl_hook_Access_classicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected