mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
#3515: NetSSL_OpenSSL Testsuite: testInterop() and testProxy() fail due to changed certificate
This commit is contained in:
parent
dbfd27611b
commit
b2d71905e3
@ -36,7 +36,7 @@
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
using namespace Poco::Net;
|
||||
using Poco::Util::Application;
|
||||
@ -298,7 +298,7 @@ void HTTPSClientSessionTest::testInterop()
|
||||
StreamCopier::copyStream(rs, ostr);
|
||||
std::string str(ostr.str());
|
||||
assertTrue (str == "This is a test file for NetSSL.\n");
|
||||
assertTrue (cert.commonName() == "secure.appinf.com" || cert.commonName() == "*.appinf.com");
|
||||
assertTrue (cert.commonName().find(".appinf.com") != std::string::npos);
|
||||
}
|
||||
|
||||
|
||||
@ -319,7 +319,7 @@ void HTTPSClientSessionTest::testProxy()
|
||||
StreamCopier::copyStream(rs, ostr);
|
||||
std::string str(ostr.str());
|
||||
assertTrue (str == "This is a test file for NetSSL.\n");
|
||||
assertTrue (cert.commonName() == "secure.appinf.com" || cert.commonName() == "*.appinf.com");
|
||||
assertTrue (cert.commonName().find(".appinf.com") != std::string::npos);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user