]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
"Configurable SSL error details messages" patch fix
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 17 Jun 2011 13:56:33 +0000 (16:56 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 17 Jun 2011 13:56:33 +0000 (16:56 +0300)
Use "#ifdef USE_SSL" for ssl related stuff to allow compile when SSL is
disabled

src/errorpage.cc

index 1f380cedff536ed0805da3902fb6d0a548e35a10..7aa71c2aefa0cb19cd6280525b512d917c51c31b 100644 (file)
@@ -220,7 +220,9 @@ errorInitialize(void)
         error_stylesheet.Printf("%s",tmpl.text());
     }
 
+#if USE_SSL
     Ssl::errorDetailInitialize();
+#endif
 }
 
 void
@@ -240,7 +242,9 @@ errorClean(void)
 
     error_page_count = 0;
 
+#if USE_SSL
     Ssl::errorDetailClean();
+#endif
 }
 
 /// \ingroup ErrorPageInternal