initializing

main
const an teen 2022-06-18 09:00:23 -04:00
parent b2607fe181
commit 93688d2b60
2 changed files with 4 additions and 4 deletions

View File

@ -33,8 +33,8 @@ public:
std::string getSecretKeyBase64String() const noexcept;
private:
std::array<uint8_t, 32> m_secret;
std::array<uint8_t, 32> m_public;
std::array<uint8_t, 32> m_secret {0};
std::array<uint8_t, 32> m_public {0};
};
class Signature {
@ -49,7 +49,7 @@ public:
bool operator==(const std::string& base64String) const noexcept;
private:
std::shared_ptr<std::array<uint8_t, 64>> m_data;
std::shared_ptr<std::array<uint8_t, 64>> m_data {0};
};
//// FUNCTIONS

View File

@ -40,7 +40,7 @@ public:
std::string getSecretKeyBase64String() const noexcept;
private:
std::array<uint8_t, 32> m_publicKey;
std::array<uint8_t, 32> m_publicKey {0};
EVP_PKEY_CTX * m_Ctx;
EVP_PKEY * m_Pkey;
};