API changes, disable MS warnings.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 2 Jan 2006 04:17:51 +0000 (04:17 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 2 Jan 2006 04:17:51 +0000 (04:17 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@1897 cb58f699-b61c-0410-a6fe-9272a202ed29

test/posttest.cpp
test/shibtest.cpp

index 2ed83b7..769227b 100644 (file)
  * limitations under the License.
  */
 
+#ifdef WIN32
+# define _CRT_NONSTDC_NO_DEPRECATE 1
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+
 #include "../shib/shib.h"
 #include <sstream>
 
@@ -78,7 +83,7 @@ int main(int argc,char* argv[])
             cin >> ch;
         }
 
-        SAMLBrowserProfile::BrowserProfileResponse bpr=p.receive(buf.c_str(),recip.get(),SAMLBrowserProfile::Post);
+        SAMLBrowserProfile::BrowserProfileResponse bpr=p.receive(buf.c_str(),recip.get(),NULL);
         cout << "Consumed Response: " << endl << *bpr.response << endl;
         bpr.clear();
     }
index 447439b..e5e6310 100644 (file)
  * limitations under the License.
  */
 
+#ifdef WIN32
+# define _CRT_NONSTDC_NO_DEPRECATE 1
+# define _CRT_SECURE_NO_DEPRECATE 1
+#endif
+
 #include "../shib-target/shib-target.h"
 
 using namespace std;
@@ -67,7 +72,7 @@ int main(int argc,char* argv[])
         ShibTargetConfig::Trust |
         ShibTargetConfig::Credentials |
         ShibTargetConfig::AAP |
-        ShibTargetConfig::GlobalExtensions |
+        ShibTargetConfig::OutOfProcess |
         ShibTargetConfig::Caching
         );
     if (!conf.init(path) || !conf.load(config))