Skip to content
Snippets Groups Projects
Commit 2f9f6b0d authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2
Browse files

TlsValidator: fix uninitialized member

Init default value of caValidationOutput_ member of TlsValidator class.
This prevents warns from static coverage tests.

(issue detected by coverity.com analysis)

Change-Id: Ib9a930bb233208cd99b7003d1a72b6d8003e3e9d
Tuleap: #909
parent b4923aaa
No related branches found
No related tags found
No related merge requests found
......@@ -282,7 +282,7 @@ private:
bool privateKeyMatch_ {false};
bool caChecked_ {false};
unsigned int caValidationOutput_;
unsigned int caValidationOutput_ {0}; // 0 means "no flags set", where flags are ones from gnutls_certificate_status_t
mutable char copy_buffer[4096];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment