X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltoolingtest%2FSecurityHelperTest.h;fp=xmltoolingtest%2FSecurityHelperTest.h;h=1f437790ebd604dfa325399ee2a90ec91c9630e0;hp=4297c89c6aa1e8f2ee3913b42b67730c84bc1426;hb=6f431db8ec532a3c3efd22a6c4ae74301d17ac03;hpb=7a45e233fe81bf3717f6d1e8c77c1581a76aa847 diff --git a/xmltoolingtest/SecurityHelperTest.h b/xmltoolingtest/SecurityHelperTest.h index 4297c89..1f43779 100644 --- a/xmltoolingtest/SecurityHelperTest.h +++ b/xmltoolingtest/SecurityHelperTest.h @@ -56,13 +56,13 @@ public: void testKeysFromURLs() { string pathname = data_path + "key.pem.bak"; - auto_ptr t1(getTransport("https://spaces.internet2.edu/download/attachments/5305/key.pem")); + auto_ptr t1(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/key.pem")); auto_ptr key1(SecurityHelper::loadKeyFromURL(*t1.get(), pathname.c_str())); pathname = data_path + "key.der.bak"; - auto_ptr t2(getTransport("https://spaces.internet2.edu/download/attachments/5305/key.der")); + auto_ptr t2(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/key.der")); auto_ptr key2(SecurityHelper::loadKeyFromURL(*t2.get(), pathname.c_str())); pathname = data_path + "test.pfx.bak"; - auto_ptr t3(getTransport("https://spaces.internet2.edu/download/attachments/5305/test.pfx")); + auto_ptr t3(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/test.pfx")); auto_ptr key3(SecurityHelper::loadKeyFromURL(*t3.get(), pathname.c_str(), nullptr, "password")); TSM_ASSERT("PEM/DER keys did not match", SecurityHelper::matches(*key1.get(), *key2.get())); @@ -107,13 +107,13 @@ public: void testCertificatesFromURLs() { string pathname = data_path + "cert.pem.bak"; - auto_ptr t1(getTransport("https://spaces.internet2.edu/download/attachments/5305/cert.pem")); + auto_ptr t1(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/cert.pem")); SecurityHelper::loadCertificatesFromURL(certs, *t1.get(), pathname.c_str()); pathname = data_path + "cert.der.bak"; - auto_ptr t2(getTransport("https://spaces.internet2.edu/download/attachments/5305/cert.der")); + auto_ptr t2(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/cert.der")); SecurityHelper::loadCertificatesFromURL(certs, *t2.get(), pathname.c_str()); pathname = data_path + "test.pfx.bak"; - auto_ptr t3(getTransport("https://spaces.internet2.edu/download/attachments/5305/test.pfx")); + auto_ptr t3(getTransport("https://wiki.shibboleth.net/confluence/download/attachments/3277026/test.pfx")); SecurityHelper::loadCertificatesFromURL(certs, *t3.get(), pathname.c_str(), nullptr, "password"); TSM_ASSERT_EQUALS("Wrong certificate count", certs.size(), 3);