]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #931: SSL error message on startup ought to be supressed...
authorhno <>
Fri, 10 Dec 2004 07:56:46 +0000 (07:56 +0000)
committerhno <>
Fri, 10 Dec 2004 07:56:46 +0000 (07:56 +0000)
incremental patch

src/cache_cf.cc

index 895bef69062c6f2c6e25545f54c5701e13bf4fea..680320c3929314249d4bc6136a46b963cb6146be 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.457 2004/12/08 00:06:03 hno Exp $
+ * $Id: cache_cf.cc,v 1.458 2004/12/10 00:56:46 hno Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -680,8 +680,8 @@ configDoConfigure(void)
 
         https_port_list *s;
 
-        for (s = Config.Sockaddr.https; s != NULL; s = s->next) {
-            debug(3, 1) ("Initializing https_port %s:%d SSL context\n", inet_ntoa(s->s.sin_addr), ntohs(s->s.sin_port));
+        for (s = Config.Sockaddr.https; s != NULL; s = (https_port_list *) s->http.next) {
+            debug(3, 1) ("Initializing https_port %s:%d SSL context\n", inet_ntoa(s->http.s.sin_addr), ntohs(s->http.s.sin_port));
             s->sslContext = sslCreateServerContext(s->cert, s->key, s->version, s->cipher, s->options, s->sslflags, s->clientca, s->cafile, s->capath, s->dhfile);
         }
     }