Commit Graph

202 Commits

Author SHA1 Message Date
Esun Kim ca945a58e9
Introduced grpc_error_handle (#25902)
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
2021-04-22 12:00:28 -07:00
Ashitha Santhosh 0570bd9205
Plumbs SAN fields to tsi_peer. (#25874) 2021-04-16 09:12:38 -07:00
Ashitha Santhosh 4f81c3b706
Update multi-domain cert to add more SAN fields. (#25946)
* Update multi-domain cert to add more SAN fields.
2021-04-09 16:41:43 -07:00
matthewstevenson88 2b0f8b6313
Fix ssl_transport_security_test.cc when built against OpenSSL 1.0.2. (#25843)
* Add Python mTLS greeter example (#40)

* Revert "Add Python mTLS greeter example (#40)"

This reverts commit 383c247775.

* Fix ssl_transport_security_test.cc when built against OpenSSL 1.0.2.

* Fix TSAN flake.

Co-authored-by: Ryan Kim <Ryanfsdf@users.noreply.github.com>
2021-03-30 20:33:28 -04:00
Esun Kim b55fba3382
Revert "Added portability test with openssl 1.0.2 (#25770)" (#25812)
This reverts commit 0147d99c41.
2021-03-25 11:28:10 -07:00
Esun Kim 0147d99c41
Added portability test with openssl 1.0.2 (#25770)
* Added openssl102 test to portability

* Update by review
2021-03-24 09:37:54 -07:00
Esun Kim a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr (#25628) 2021-03-09 21:30:35 -08:00
yihuaz d4ef8084f4
add max_frame_size support to fake TSI handshaker and fake HS service (#25621) 2021-03-05 16:07:24 -08:00
Ashitha Santhosh e049a1f223 Increase max frame size to 1MB. 2021-02-10 16:59:51 -08:00
Esun Kim be761cd430 Fixed sign-compare warnings 2021-01-27 11:16:18 -08:00
Esun Kim 9eae29f8e9
Merge pull request #25134 from veblush/fix-unused-parameter
Fix unused parameter warnings
2021-01-21 10:08:09 -08:00
Jan Tattermusch 0b1798412b
Revert "Wrap strerror into a thread-safe implementation" 2021-01-20 16:33:27 +01:00
Esun Kim 9bd7c4917a Fix unused-parameter warning 2021-01-19 18:18:09 -08:00
yang-g cf26f0133a Wrap strerror into a thread-safe implementation 2021-01-13 08:54:51 -08:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Esun Kim e0d8c498a6 C++ cast for others 2020-11-30 17:36:21 -08:00
Esun Kim 2ff84ed8c2 C++ cast for void* 2020-11-30 17:29:15 -08:00
Esun Kim ec0b88a5d7 Fix google-readability-casting 2020-11-30 17:27:51 -08:00
Esun Kim ac080fd17a Fix readability-inconsistent-declaration-parameter-name manually 2020-11-30 14:22:40 -08:00
Esun Kim 61deee2217 Disable ASSERT_EQ in ConnectLoop on Mac 2020-11-14 00:20:42 -08:00
capstan 131579d52d Roll forward of commit 7883b51: Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.

This reverts commit da66b7d14e.

NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring da66b7d14e
Revert "Abseil Flags" 2020-10-24 15:19:55 -07:00
capstan 7883b5133d Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.
2020-10-23 19:36:33 +02:00
Esun Kim aae4f4cf18 Fix by misc-unused-using-decls 2020-10-19 18:12:11 -07:00
Esun Kim 6ae8463500 Fix by modernize-make-unique 2020-10-16 13:30:56 -07:00
Esun Kim c08f33c437 Fix clang-tidy errors 2020-10-15 16:07:25 -07:00
Esun Kim 1c7d5b5299 Fix MSAN adjustment 2020-09-23 18:22:10 -07:00
apolcyn fb134e812a
Merge pull request #23960 from apolcyn/double_deadline
Double the handshake failure deadline of TestHandshakeFailsFastWhenHandshakeServerClosesConnectionAfterAccepting
2020-08-24 15:52:14 -07:00
Alexander Polcyn e5bb358edd double the handshake failure deadline of AltsConcurrentConnectivityTest.TestHandshakeFailsFastWhenHandshakeServerClosesConnectionAfterAccepting 2020-08-24 12:49:50 -07:00
ZhenLian 0cdc36f64f ALTS peer attributes plumbing 2020-08-14 17:27:57 -07:00
Matthew Stevenson 85337d69c2 Re-enable TLS 1.3 in the C-core. 2020-08-06 14:52:05 -07:00
Alexander Polcyn 307e175ab2 Make fake insecure servers in ALTS concurrent connectivity test eagerly send an empty settings frame upon receiving new connections 2020-07-30 19:45:20 -07:00
Matthew Stevenson 25d2b9b102 Fix number of TLS version tests to run. 2020-07-24 12:18:11 -07:00
Matthew Stevenson 6ccc298665 Disable TLS 1.3-specific unit tests in ssl_transport_security_test.cc. 2020-07-24 11:28:29 -07:00
Mark D. Roth 9404f66f70 Replace most uses of gpr_asprintf() with absl calls. 2020-07-07 12:01:02 -07:00
Matthew Stevenson c484ab2d93 Address Jiangtao's comments. 2020-06-25 10:24:31 -07:00
Matthew Stevenson f25422a890 Add tests for unused bytes. 2020-06-24 19:38:45 -07:00
Matthew Stevenson 6822dd1d1e Merge remote-tracking branch 'upstream/master' into matt-tls13 2020-06-24 13:29:45 -07:00
Jiangtao Li 8fcf96436d
Merge pull request #23295 from jiangtaoli2016/spiffe
Update SPIFFE ID check
2020-06-24 13:26:31 -07:00
jiangtaoli2016 e8f17c5f96 Fix SPIFFE ID check 2020-06-24 08:53:09 -07:00
Matthew Stevenson 32c0846d45 Add TLS 1.2 testing. 2020-06-18 20:25:50 -07:00
Mark D. Roth 11d50d9592 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-15 15:24:10 -07:00
Matthew Stevenson a575049c03 Changes needed to enable TLS 1.3. 2020-06-08 18:56:15 -07:00
yihuaz 6591d0997b add length check 2020-06-07 16:44:48 -07:00
yihuaz ff045fde0d Update multi-domain key materials 2020-06-07 16:01:38 -07:00
Mark D. Roth cc6414893c update bazel build dep, regenerate upb files, and add missing includes 2020-06-02 14:48:50 -07:00
Mark D. Roth 20ee8f2485 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-05-11 13:50:11 -07:00
Mark D. Roth a13e54cc5f
Merge pull request #22755 from markdroth/absl_string_view_host_port2
Remove deprecated variant of JoinHostPort().
2020-05-08 11:11:43 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
ZhenLian ee19ac2aba fix test failures 2020-05-05 23:19:16 -07:00