* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Add parentheses

around bitwise-and.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@833593 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2009-11-06 22:51:42 +00:00
parent 1b84ebe0f5
commit 718a24dd45

View File

@ -1924,7 +1924,7 @@ void ssl_callback_Info(MODSSL_INFO_CB_ARG_TYPE ssl, int where, int rc)
}
/* If the first handshake is complete, change state to reject any
* subsequent client-initated renegotiation. */
else if (where & SSL_CB_HANDSHAKE_DONE && scr->reneg_state == RENEG_INIT) {
else if ((where & SSL_CB_HANDSHAKE_DONE) && scr->reneg_state == RENEG_INIT) {
scr->reneg_state = RENEG_REJECT;
}