]>
Commit | Line | Data |
---|---|---|
846a341e ER |
1 | http://bugs.gentoo.org/show_bug.cgi?id=115324 |
2 | ||
3 | --- modules/ssl/ssl_engine_kernel.c (Revision 368148) | |
4 | +++ modules/ssl/ssl_engine_kernel.c (Arbeitskopie) | |
5 | @@ -202,11 +202,14 @@ | |
6 | } | |
7 | ||
8 | /* | |
9 | - * Check to see if SSL protocol is on | |
10 | + * Check to see whether SSL is in use; if it's not, then no | |
11 | + * further access control checks are relevant. (the test for | |
12 | + * sc->enabled is probably strictly unnecessary) | |
13 | */ | |
14 | - if (!(sc->enabled || ssl)) { | |
15 | + if (!sc->enabled || !ssl) { | |
16 | return DECLINED; | |
17 | } | |
18 | + | |
19 | /* | |
20 | * Support for per-directory reconfigured SSL connection parameters. | |
21 | * |