diff options
author | 2017-04-02 10:12:24 -0700 | |
---|---|---|
committer | 2017-04-02 10:12:24 -0700 | |
commit | 4fc230a724ace5edf8d9f5137214b2d2acc85e5a (patch) | |
tree | 578355d47adf7b341a7014776c865d3a529bbe24 /src/core | |
parent | bd210c0bff6c8e52f49caa1cbc129359c24e2fbf (diff) | |
parent | b7de717bf3044a1bb201da4de81efeb380de5627 (diff) |
Merge pull request #10399 from ipylypiv/fix_tsi_security
Fix duplicated NULL pointer check
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/tsi/transport_security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/tsi/transport_security.c b/src/core/tsi/transport_security.c index a3e42e87ec..67ebe1b1f3 100644 --- a/src/core/tsi/transport_security.c +++ b/src/core/tsi/transport_security.c @@ -101,7 +101,7 @@ tsi_result tsi_frame_protector_protect_flush( tsi_frame_protector *self, unsigned char *protected_output_frames, size_t *protected_output_frames_size, size_t *still_pending_size) { if (self == NULL || protected_output_frames == NULL || - protected_output_frames == NULL || still_pending_size == NULL) { + protected_output_frames_size == NULL || still_pending_size == NULL) { return TSI_INVALID_ARGUMENT; } return self->vtable->protect_flush(self, protected_output_frames, |