Some minor changes
This commit is contained in:
parent
f008d3a711
commit
bc8f314623
@ -308,7 +308,7 @@ std::shared_ptr<LicenseEntry> LicenseChain::addServerEntry(ServerLicenseType typ
|
|||||||
}
|
}
|
||||||
|
|
||||||
void LicenseChain::addEphemeralEntry() {
|
void LicenseChain::addEphemeralEntry() {
|
||||||
auto entry = make_shared<EphemeralLicenseEntry>();
|
auto entry = std::make_shared<EphemeralLicenseEntry>();
|
||||||
_ed25519_create_keypair(entry->key.publicKeyData, entry->key.privateKeyData);
|
_ed25519_create_keypair(entry->key.publicKeyData, entry->key.privateKeyData);
|
||||||
entry->key.privateKey = true;
|
entry->key.privateKey = true;
|
||||||
entry->_begin = system_clock::now() - hours(6);
|
entry->_begin = system_clock::now() - hours(6);
|
||||||
|
Loading…
Reference in New Issue
Block a user