aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_ciphersuite.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-22 13:33:48 -0400
committerJack Lloyd <[email protected]>2016-10-22 13:33:48 -0400
commit9033015bb94be08dc76f1bc2138cd85500bad831 (patch)
treeb7705315c813752c195903522d05c3e37a376e58 /src/lib/tls/tls_ciphersuite.h
parentf1557cb19dfb1220ddf994c931c148d83beb2390 (diff)
Address some Coverity warnings
Nothing exciting.
Diffstat (limited to 'src/lib/tls/tls_ciphersuite.h')
-rw-r--r--src/lib/tls/tls_ciphersuite.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/tls/tls_ciphersuite.h b/src/lib/tls/tls_ciphersuite.h
index 6708e3ca6..fe3392a38 100644
--- a/src/lib/tls/tls_ciphersuite.h
+++ b/src/lib/tls/tls_ciphersuite.h
@@ -118,7 +118,7 @@ class BOTAN_DLL Ciphersuite
private:
bool is_usable() const;
-
+
Ciphersuite(u16bit ciphersuite_code,
const char* iana_id,
const char* sig_algo,
@@ -151,14 +151,14 @@ class BOTAN_DLL Ciphersuite
All of these const char* strings are references to compile time
constants in tls_suite_info.cpp
*/
- const char* m_iana_id;
+ const char* m_iana_id = nullptr;
- const char* m_sig_algo;
- const char* m_kex_algo;
- const char* m_prf_algo;
+ const char* m_sig_algo = nullptr;
+ const char* m_kex_algo = nullptr;
+ const char* m_prf_algo = nullptr;
- const char* m_cipher_algo;
- const char* m_mac_algo;
+ const char* m_cipher_algo = nullptr;
+ const char* m_mac_algo = nullptr;
size_t m_cipher_keylen = 0;
size_t m_nonce_bytes_from_handshake = 0;