aboutsummaryrefslogtreecommitdiff
path: root/src/common/Cryptography/SessionKeyGenerator.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-08-03 18:57:16 +0200
committerShauren <shauren.trinity@gmail.com>2020-08-03 18:57:16 +0200
commitd056f24c52ee1d4a136e7a7888e5629a71290e21 (patch)
tree7663d59803ad378642978f5cd3dccbd0d82da4c8 /src/common/Cryptography/SessionKeyGenerator.h
parent38de6d330711f0439d311a3c493cc82eaf9d09db (diff)
Core/Crypto: Initialize class member variables after crypto refactor
Diffstat (limited to 'src/common/Cryptography/SessionKeyGenerator.h')
-rw-r--r--src/common/Cryptography/SessionKeyGenerator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/Cryptography/SessionKeyGenerator.h b/src/common/Cryptography/SessionKeyGenerator.h
index af787358981..144ff00ff56 100644
--- a/src/common/Cryptography/SessionKeyGenerator.h
+++ b/src/common/Cryptography/SessionKeyGenerator.h
@@ -53,7 +53,9 @@ class SessionKeyGenerator
}
private:
- typename Hash::Digest o0, o1, o2;
+ typename Hash::Digest o0 = { };
+ typename Hash::Digest o1 = { };
+ typename Hash::Digest o2 = { };
typename Hash::Digest::const_iterator o0it;
};