diff options
author | 2018-07-20 16:41:44 -0700 | |
---|---|---|
committer | 2018-08-09 11:01:31 -0700 | |
commit | bcd747d42d11c92c3d37aef8d8b45a043ff5d79c (patch) | |
tree | 46229383a1c2821d91edf06bfe5843dd45bbb4ba /test/core/security/BUILD | |
parent | cb87dd9fef97d1e1fb2559be68188c0792a3ecd8 (diff) |
Added system roots feature to load roots from OS trust store
Added a flag-guarded feature that allows gRPC to load TLS/SSL
roots from the OS trust store. This is the Linux-specific
implementation of such feature.
Diffstat (limited to 'test/core/security/BUILD')
-rw-r--r-- | test/core/security/BUILD | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/test/core/security/BUILD b/test/core/security/BUILD index 12aa84d93b..b7de955cdb 100644 --- a/test/core/security/BUILD +++ b/test/core/security/BUILD @@ -129,6 +129,27 @@ grpc_cc_test( ) grpc_cc_test( + name = "linux_system_roots_test", + srcs = ["linux_system_roots_test.cc"], + data = [ + "//test/core/security/etc:bundle.pem", + "//test/core/security/etc:test_roots/cert1.pem", + "//test/core/security/etc:test_roots/cert2.pem", + "//test/core/security/etc:test_roots/cert3.pem", + ], + language = "C++", + external_deps = [ + "gtest", + ], + deps = [ + "//:gpr", + "//:grpc", + "//test/core/util:gpr_test_util", + "//test/core/util:grpc_test_util", + ], +) + +grpc_cc_test( name = "ssl_credentials_test", srcs = ["ssl_credentials_test.cc"], language = "C++", @@ -219,9 +240,9 @@ grpc_cc_test( deps = [ "//:gpr", "//:grpc", - "//:grpc_base_c", + "//:grpc_base_c", "//:grpc_secure", - "//:tsi", + "//:tsi", "//:tsi_interface", "//test/core/util:gpr_test_util", ], |