diff options
author | Jack Lloyd <[email protected]> | 2017-08-03 14:56:39 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-03 14:56:39 -0400 |
commit | fc62a567b004ff175280751fdccbc9e277f778a5 (patch) | |
tree | 494f6cc405426556f898256b527c80028e3cfe6b /src/lib/tls/tls_extensions.cpp | |
parent | 2eef5b866ecbefd32a50667f71d5575593cabc3e (diff) |
Initialize member var in Certificate_Status_Request
This var is only used when encoding so was never read from, but
leaving it uninitialized is bad news. Flagged by Coverity.
Diffstat (limited to 'src/lib/tls/tls_extensions.cpp')
-rw-r--r-- | src/lib/tls/tls_extensions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/tls_extensions.cpp b/src/lib/tls/tls_extensions.cpp index dfd909c7c..c76128632 100644 --- a/src/lib/tls/tls_extensions.cpp +++ b/src/lib/tls/tls_extensions.cpp @@ -644,7 +644,8 @@ std::vector<uint8_t> Certificate_Status_Request::serialize() const } Certificate_Status_Request::Certificate_Status_Request(TLS_Data_Reader& reader, - uint16_t extension_size) + uint16_t extension_size) : + m_server_side(false) { if(extension_size > 0) { |