diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2019-01-07 09:50:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-07 09:50:21 -0800 |
commit | 36b47ce0de60754cf14258e15d25dd2d1bb5abe0 (patch) | |
tree | 891087733e8609cc0594559dbd17d8b4b9b5b1e9 /src/objective-c/tests/InteropTestsLocalCleartext.m | |
parent | 46bd2f7adb926053345665d5c487fa20acd2b5b0 (diff) | |
parent | b4a926961abc9e29016b2ba30093f3925de10514 (diff) |
Merge pull request #16190 from muxi/config-isolation
Implement L38: gRPC Objective-C API Upgrade
Diffstat (limited to 'src/objective-c/tests/InteropTestsLocalCleartext.m')
-rw-r--r-- | src/objective-c/tests/InteropTestsLocalCleartext.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/objective-c/tests/InteropTestsLocalCleartext.m b/src/objective-c/tests/InteropTestsLocalCleartext.m index d49e875bd0..a9c6918333 100644 --- a/src/objective-c/tests/InteropTestsLocalCleartext.m +++ b/src/objective-c/tests/InteropTestsLocalCleartext.m @@ -41,6 +41,14 @@ static int32_t kLocalInteropServerOverhead = 10; return kLocalCleartextHost; } ++ (NSString *)PEMRootCertificates { + return nil; +} + ++ (NSString *)hostNameOverride { + return nil; +} + - (int32_t)encodingOverhead { return kLocalInteropServerOverhead; // bytes } @@ -52,4 +60,8 @@ static int32_t kLocalInteropServerOverhead = 10; [GRPCCall useInsecureConnectionsForHost:kLocalCleartextHost]; } ++ (GRPCTransportType)transportType { + return GRPCTransportTypeInsecure; +} + @end |