summaryrefslogtreecommitdiff
path: root/src/monitor-gui.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2023-07-18 14:11:04 +0200
committerJoel Klinghed <the_jk@opera.com>2023-07-18 14:11:04 +0200
commit2a8a19c674dd843828771c04f25e906e3c58f845 (patch)
tree24cb36814d4ac7b4bde8e75253234270fc6ddff8 /src/monitor-gui.cc
parent467db2e9086bdffb9adfcb2143684471c061f206 (diff)
Support mbedtls 3.x
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);