diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-01-15 16:44:13 -0800 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-01-20 22:18:15 -0800 |
commit | 8fbcc4391ef8ea178520f2e15c07a505621244a6 (patch) | |
tree | fb55328c7de9e66c534a2e987f561794fc2e3ee3 /test/cpp/client | |
parent | 18d4a86982178ff7bbec345a9772184c713cda35 (diff) |
Changing the SSL (Server) Credentials API.
- Changed the unsigned char * + size to NULL terminated strings which
makes sense for the PEM format. I may change TSI later (but the impact
will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
option to not specify the roots which will then be derived from the
environment (well-known platform dependent locations and/or
environment variable).
- Fixed the php build which is the only one added in the run_test.py.
This change will certainly break node, python and ruby.
Diffstat (limited to 'test/cpp/client')
-rw-r--r-- | test/cpp/client/credentials_test.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/cpp/client/credentials_test.cc b/test/cpp/client/credentials_test.cc index ea088b87bd..174d2187b0 100644 --- a/test/cpp/client/credentials_test.cc +++ b/test/cpp/client/credentials_test.cc @@ -45,15 +45,6 @@ class CredentialsTest : public ::testing::Test { protected: }; -TEST_F(CredentialsTest, InvalidSslCreds) { - std::unique_ptr<Credentials> bad1 = - CredentialsFactory::SslCredentials({"", "", ""}); - EXPECT_EQ(nullptr, bad1.get()); - std::unique_ptr<Credentials> bad2 = - CredentialsFactory::SslCredentials({"", "bla", "bla"}); - EXPECT_EQ(nullptr, bad2.get()); -} - TEST_F(CredentialsTest, InvalidServiceAccountCreds) { std::unique_ptr<Credentials> bad1 = CredentialsFactory::ServiceAccountCredentials("", "", |