Vignesh Babu
34e4bd93e1
Revert "Add CRL Enabled Credentials to test folder ( #27436 )" ( #27535 )
...
This reverts commit e611d0c489
.
3 years ago
krestofur
e611d0c489
Add CRL Enabled Credentials to test folder ( #27436 )
3 years ago
Craig Tiller
9b41852a5e
channel_init --> core configuration system ( #27347 )
...
* channel_init --> core configuration system
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* eliminate grpc_base_c
* fixes
* fix merge
* fix
* update visibility
* fixes
* feedback
* fix comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Austin Schuh
d30404868f
ARM and -Wextra fixups ( #19141 )
...
* Make generated code compile with -Wunused-parameters
-Wunused-parameters is turned on by -Werror -Wextra. gRPC code
generation creates header files with unused parameters. So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.
* Fix unsigned vs signed comparisons and 32 bit string formats
Fix unsigned vs signed comparison warnings.
For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine. Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.
* Fix unaligned memory access
cost_entry_ptr has no alignment guarentees that ubsan can find. So it
fails the test with an alignment problem. Use memcopy to read the data
from the pointer to fix this.
* Fix undefined behavior with memcpy and memcmp
Passing in a 0 length piece of data and a null pointer is undefined
behavior. If the length is 0, don't pass it in. This fixes ubsan
failures.
* Clang-format
* Automated change: Fix sanity tests
3 years ago
Craig Tiller
b669a3c521
Revert "Revert "a useful change ( #27381 )" ( #27411 )" ( #27412 )
...
This reverts commit 5db17f7350
.
3 years ago
Craig Tiller
5db17f7350
Revert "a useful change ( #27381 )" ( #27411 )
...
This reverts commit 11eb70bbed
.
3 years ago
Craig Tiller
11eb70bbed
a useful change ( #27381 )
...
* a useful change
* Automated change: Fix sanity tests
* fix
* fix
* QsortCompare it is!
* Automated change: Fix sanity tests
* add missing header
* clang-tidy fixes, tweak clamp to only use <
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Brad Hess
b082fbe79d
Clear SSL error stacks before performing SSL I/O. ( #26834 )
...
* Clear SSL error stacks before performing SSL I/O.
3 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Ashitha Santhosh
0570bd9205
Plumbs SAN fields to tsi_peer. ( #25874 )
4 years ago
Ashitha Santhosh
4f81c3b706
Update multi-domain cert to add more SAN fields. ( #25946 )
...
* Update multi-domain cert to add more SAN fields.
4 years ago
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>
4 years ago
Esun Kim
b55fba3382
Revert "Added portability test with openssl 1.0.2 ( #25770 )" ( #25812 )
...
This reverts commit 0147d99c41
.
4 years ago
Esun Kim
0147d99c41
Added portability test with openssl 1.0.2 ( #25770 )
...
* Added openssl102 test to portability
* Update by review
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
yihuaz
d4ef8084f4
add max_frame_size support to fake TSI handshaker and fake HS service ( #25621 )
4 years ago
Ashitha Santhosh
e049a1f223
Increase max frame size to 1MB.
4 years ago
Esun Kim
be761cd430
Fixed sign-compare warnings
4 years ago
Jan Tattermusch
0b1798412b
Revert "Wrap strerror into a thread-safe implementation"
4 years ago
Esun Kim
9bd7c4917a
Fix unused-parameter warning
4 years ago
yang-g
cf26f0133a
Wrap strerror into a thread-safe implementation
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Esun Kim
ac080fd17a
Fix readability-inconsistent-declaration-parameter-name manually
4 years ago
Esun Kim
61deee2217
Disable ASSERT_EQ in ConnectLoop on Mac
4 years ago
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.
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
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 .
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
c08f33c437
Fix clang-tidy errors
4 years ago
Esun Kim
1c7d5b5299
Fix MSAN adjustment
4 years ago
Alexander Polcyn
e5bb358edd
double the handshake failure deadline of AltsConcurrentConnectivityTest.TestHandshakeFailsFastWhenHandshakeServerClosesConnectionAfterAccepting
4 years ago
ZhenLian
0cdc36f64f
ALTS peer attributes plumbing
4 years ago
Matthew Stevenson
85337d69c2
Re-enable TLS 1.3 in the C-core.
4 years ago
Alexander Polcyn
307e175ab2
Make fake insecure servers in ALTS concurrent connectivity test eagerly send an empty settings frame upon receiving new connections
4 years ago
matthewstevenson88
9957299480
Merge pull request #23608 from matthewstevenson88/matt-disable-tls13
...
Disable TLS 1.3 in the C-core.
4 years ago
Matthew Stevenson
25d2b9b102
Fix number of TLS version tests to run.
4 years ago
Matthew Stevenson
6ccc298665
Disable TLS 1.3-specific unit tests in ssl_transport_security_test.cc.
4 years ago
Mark D. Roth
9404f66f70
Replace most uses of gpr_asprintf() with absl calls.
4 years ago
Matthew Stevenson
c484ab2d93
Address Jiangtao's comments.
5 years ago
Matthew Stevenson
f25422a890
Add tests for unused bytes.
5 years ago
jiangtaoli2016
e8f17c5f96
Fix SPIFFE ID check
5 years ago
Matthew Stevenson
32c0846d45
Add TLS 1.2 testing.
5 years ago
Matthew Stevenson
a575049c03
Changes needed to enable TLS 1.3.
5 years ago
yihuaz
6591d0997b
add length check
5 years ago
yihuaz
ff045fde0d
Update multi-domain key materials
5 years ago