mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999)
This commit is contained in:
@@ -319,7 +319,7 @@ void HTTPSClientSessionTest::testInterop()
|
||||
StreamCopier::copyStream(rs, ostr);
|
||||
std::string str(ostr.str());
|
||||
assert (str == "This is a test file for NetSSL.\n");
|
||||
assert (cert.commonName() == "secure.appinf.com");
|
||||
assert (cert.commonName() == "secure.appinf.com" || cert.commonName() == "*.appinf.com");
|
||||
}
|
||||
|
||||
|
||||
@@ -340,7 +340,7 @@ void HTTPSClientSessionTest::testProxy()
|
||||
StreamCopier::copyStream(rs, ostr);
|
||||
std::string str(ostr.str());
|
||||
assert (str == "This is a test file for NetSSL.\n");
|
||||
assert (cert.commonName() == "secure.appinf.com");
|
||||
assert (cert.commonName() == "secure.appinf.com" || cert.commonName() == "*.appinf.com");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user