use fs::path for service::Identity::EnsureKeys (#1364)

pull/1365/head
Jeff 4 years ago committed by GitHub
parent d03066ee05
commit 11ed8924c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -85,7 +85,7 @@ namespace llarp
}
void
Identity::EnsureKeys(const std::string& fname, bool needBackup)
Identity::EnsureKeys(fs::path fname, bool needBackup)
{
std::array<byte_t, 4096> tmp;
llarp_buffer_t buf(tmp);

@ -38,7 +38,7 @@ namespace llarp
/// @param needBackup determines whether existing keys will be cycled
void
EnsureKeys(const std::string& fpath, bool needBackup);
EnsureKeys(fs::path fpath, bool needBackup);
bool
KeyExchange(

Loading…
Cancel
Save