mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-30 21:50:47 +01:00
make all save() functions const
This commit is contained in:
@@ -107,7 +107,7 @@ EVPPKey::~EVPPKey()
|
||||
}
|
||||
|
||||
|
||||
void EVPPKey::save(const std::string& publicKeyFile, const std::string& privateKeyFile, const std::string& privateKeyPassphrase)
|
||||
void EVPPKey::save(const std::string& publicKeyFile, const std::string& privateKeyFile, const std::string& privateKeyPassphrase) const
|
||||
{
|
||||
if (!publicKeyFile.empty())
|
||||
{
|
||||
@@ -166,7 +166,7 @@ void EVPPKey::save(const std::string& publicKeyFile, const std::string& privateK
|
||||
}
|
||||
|
||||
|
||||
void EVPPKey::save(std::ostream* pPublicKeyStream, std::ostream* pPrivateKeyStream, const std::string& privateKeyPassphrase)
|
||||
void EVPPKey::save(std::ostream* pPublicKeyStream, std::ostream* pPrivateKeyStream, const std::string& privateKeyPassphrase) const
|
||||
{
|
||||
if (pPublicKeyStream)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user