httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r645943 - /httpd/httpd/trunk/modules/ssl/ssl_scache.c
Date Tue, 08 Apr 2008 14:30:45 GMT
Author: jorton
Date: Tue Apr  8 07:30:41 2008
New Revision: 645943

URL: http://svn.apache.org/viewvc?rev=645943&view=rev
Log:
Missed in r645940:

* modules/ssl/ssl_scache.c: Switch to using socache constants.

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

Modified: httpd/httpd/trunk/modules/ssl/ssl_scache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_scache.c?rev=645943&r1=645942&r2=645943&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_scache.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_scache.c Tue Apr  8 07:30:41 2008
@@ -103,14 +103,14 @@
     ptr = encoded;
     len = i2d_SSL_SESSION(sess, &ptr);
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_on(s);
     }
     
     rv = mc->sesscache->store(mc->sesscache_context, s, id, idlen, 
                               expiry, encoded, len);
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_off(s);
     }
 
@@ -126,14 +126,14 @@
     MODSSL_D2I_SSL_SESSION_CONST unsigned char *ptr;
     apr_status_t rv;
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_on(s);
     }
 
     rv = mc->sesscache->retrieve(mc->sesscache_context, s, id, idlen, 
                                  dest, &destlen, p);
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_off(s);
     }
 
@@ -181,13 +181,13 @@
     ap_rputs("</td></tr>\n", r);
     ap_rputs("<tr><td bgcolor=\"#ffffff\">\n", r);
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_on(r->server);
     }
 
     mc->sesscache->status(mc->sesscache_context, r, flags);
 
-    if (mc->sesscache->flags & MODSSL_SESSCACHE_FLAG_NOTMPSAFE) {
+    if (mc->sesscache->flags & AP_SOCACHE_FLAG_NOTMPSAFE) {
         ssl_mutex_off(r->server);
     }
 



Mime
View raw message