summaryrefslogtreecommitdiff
path: root/src/monitor-gui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor-gui.cc')
-rw-r--r--src/monitor-gui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monitor-gui.cc b/src/monitor-gui.cc
index b02f028..c4152b0 100644
--- a/src/monitor-gui.cc
+++ b/src/monitor-gui.cc
@@ -699,7 +699,7 @@ private:
std::string key;
if (!SSLKey::generate(logger, entropy.get(), &key)) return false;
std::string cert;
- std::unique_ptr<SSLKey> pkey(SSLKey::load(logger, key));
+ std::unique_ptr<SSLKey> pkey(SSLKey::load(logger, key, entropy.get()));
if (!SSLCert::generate(logger, entropy.get(), nullptr, nullptr, issuer,
pkey.get(), &cert)) return false;
std::ofstream of(output);