diff options
author | Brad Pankow <brad@livio.io> | 2016-07-22 09:48:48 -0400 |
---|---|---|
committer | Brad Pankow <brad@livio.io> | 2016-07-26 13:27:43 -0400 |
commit | 7d8dc821d2c1c9e67ca0c7933f735b762f470e01 (patch) | |
tree | 9f946e62d5bbeac12ffd8d873cedc4d3f2011ca3 | |
parent | b51e65f616d3b30146c28eb95ffe7169eed2677c (diff) | |
download | sdl_core-7d8dc821d2c1c9e67ca0c7933f735b762f470e01.tar.gz |
Initialize max_block_size_ before use in functions (CID 80074)
-rw-r--r-- | src/components/security_manager/src/ssl_context_impl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/security_manager/src/ssl_context_impl.cc b/src/components/security_manager/src/ssl_context_impl.cc index 09c2efd196..877b0d8093 100644 --- a/src/components/security_manager/src/ssl_context_impl.cc +++ b/src/components/security_manager/src/ssl_context_impl.cc @@ -52,7 +52,8 @@ CryptoManagerImpl::SSLContextImpl::SSLContextImpl(SSL *conn, Mode mode) buffer_size_(1500), buffer_(new uint8_t[buffer_size_]), is_handshake_pending_(false), - mode_(mode) { + mode_(mode), + max_block_size_(0) { SSL_set_bio(connection_, bioIn_, bioOut_); } |