From: Joe Orton Date: Thu, 4 Feb 2010 14:10:55 +0000 (+0000) Subject: * modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Set X-Git-Tag: 2.3.6~518 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08e1e0110bd3847d8294005c22a52916c020d69d;p=apache * modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Set an "ssl-secure-reneg" note indicating whether the client supports the secure renegotiation TLS extension. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906485 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index f61b249cfb..e4757e762b 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -1191,6 +1191,16 @@ int ssl_hook_Fixup(request_rec *r) } } + + apr_table_setn(r->notes, "ssl-secure-reneg", +#ifdef SSL_get_secure_renegotiation_support + SSL_get_secure_renegotiation_support(ssl) + ? "1" : "0" +#else + "0" +#endif + ); + return DECLINED; }