Some minor changes

This commit is contained in:
WolverinDEV 2021-04-22 00:14:34 +02:00
parent f008d3a711
commit bc8f314623

View File

@ -308,7 +308,7 @@ std::shared_ptr<LicenseEntry> LicenseChain::addServerEntry(ServerLicenseType typ
}
void LicenseChain::addEphemeralEntry() {
auto entry = make_shared<EphemeralLicenseEntry>();
auto entry = std::make_shared<EphemeralLicenseEntry>();
_ed25519_create_keypair(entry->key.publicKeyData, entry->key.privateKeyData);
entry->key.privateKey = true;
entry->_begin = system_clock::now() - hours(6);