Don't load inproc extensions while testing config.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 20 Aug 2007 15:55:20 +0000 (15:55 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 20 Aug 2007 15:55:20 +0000 (15:55 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2435 cb58f699-b61c-0410-a6fe-9272a202ed29

shibd/shibd.cpp

index fe30c24..cf79435 100644 (file)
@@ -115,7 +115,7 @@ int real_main(int preinit)
             SPConfig::Credentials |\r
             SPConfig::AttributeResolution |\r
             SPConfig::OutOfProcess |\r
-            (shar_checkonly ? (SPConfig::InProcess | SPConfig::RequestMapping) : SPConfig::Logging)\r
+            (shar_checkonly ? SPConfig::RequestMapping : SPConfig::Logging)\r
             );\r
         if (!shar_config)\r
             shar_config=getenv("SHIBSP_CONFIG");\r
@@ -279,7 +279,7 @@ int main(int argc, char *argv[])
         SPConfig::Credentials |\r
         SPConfig::AttributeResolution |\r
         SPConfig::OutOfProcess |\r
-        (shar_checkonly ? (SPConfig::InProcess | SPConfig::RequestMapping) : SPConfig::Logging)\r
+        (shar_checkonly ? SPConfig::RequestMapping : SPConfig::Logging)\r
         );\r
     if (!conf.init(shar_schemadir)) {\r
         fprintf(stderr, "configuration is invalid, check console for specific problems\n");\r