1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Only set the

"ssl-secure-reneg" note if the server supports secure negotiation,
  so that a '0' value is unambiguous.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906491 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2010-02-04 14:28:15 +00:00
parent 08e1e0110b
commit 41d7f374af

View File

@@ -1192,14 +1192,10 @@ int ssl_hook_Fixup(request_rec *r)
} }
apr_table_setn(r->notes, "ssl-secure-reneg",
#ifdef SSL_get_secure_renegotiation_support #ifdef SSL_get_secure_renegotiation_support
SSL_get_secure_renegotiation_support(ssl) apr_table_setn(r->notes, "ssl-secure-reneg",
? "1" : "0" SSL_get_secure_renegotiation_support(ssl) ? "1" : "0");
#else
"0"
#endif #endif
);
return DECLINED; return DECLINED;
} }