Commit 2f9f6b0d authored by Guillaume Roguez's avatar Guillaume Roguez Committed by gerrit2

TlsValidator: fix uninitialized member

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

(issue detected by analysis)

Change-Id: Ib9a930bb233208cd99b7003d1a72b6d8003e3e9d
Tuleap: #909
parent b4923aaa
......@@ -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];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment