httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r906491 - /httpd/httpd/trunk/modules/ssl/ssl_engine_kernel.c
Date Thu, 04 Feb 2010 14:28:16 GMT
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;
 }



Mime
View raw message