From 08e1e0110bd3847d8294005c22a52916c020d69d Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 4 Feb 2010 14:10:55 +0000 Subject: [PATCH] * 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 --- modules/ssl/ssl_engine_kernel.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; } -- 2.50.1