You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2010/02/04 15:28:16 UTC

svn commit: r906491 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c

Author: jorton
Date: Thu Feb  4 14:28:15 2010
New Revision: 906491

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

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=906491&r1=906490&r2=906491&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:28:15 2010
@@ -1192,14 +1192,10 @@
     }
 
 
-    apr_table_setn(r->notes, "ssl-secure-reneg", 
 #ifdef SSL_get_secure_renegotiation_support
-                   SSL_get_secure_renegotiation_support(ssl)
-                   ? "1" : "0"
-#else
-                   "0"
+    apr_table_setn(r->notes, "ssl-secure-reneg", 
+                   SSL_get_secure_renegotiation_support(ssl) ? "1" : "0");
 #endif
-        );
 
     return DECLINED;
 }