httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r906485 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Date Thu, 04 Feb 2010 14:10:55 GMT
Author: jorton
Date: Thu Feb  4 14:10:55 2010
New Revision: 906485

URL: http://svn.apache.org/viewvc?rev=906485&view=rev
Log:
* 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.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c?rev=906485&r1=906484&r2=906485&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c Thu Feb  4 14:10:55 2010
@@ -1191,6 +1191,16 @@
         }
     }
 
+
+    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;
 }
 



Mime
View raw message