httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r830546 - /httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
Date Wed, 28 Oct 2009 14:00:53 GMT
Author: jorton
Date: Wed Oct 28 14:00:53 2009
New Revision: 830546

URL: http://svn.apache.org/viewvc?rev=830546&view=rev
Log:
* modules/ssl/ssl_util_stapling.c (stapling_cb): Use mySrvFromConn(),
  thanks to rpluem.

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

Modified: httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c?rev=830546&r1=830545&r2=830546&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_util_stapling.c Wed Oct 28 14:00:53 2009
@@ -573,8 +573,7 @@
 static int stapling_cb(SSL *ssl, void *arg)
 {
     conn_rec *conn      = (conn_rec *)SSL_get_app_data(ssl);
-    server_rec *s       = conn->base_server;
-
+    server_rec *s       = mySrvFromConn(conn);
     SSLSrvConfigRec *sc = mySrvConfig(s);
     SSLConnRec *sslconn = myConnConfig(conn);
     modssl_ctx_t *mctx  = myCtxConfig(sslconn, sc);



Mime
View raw message