mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-04-19 19:52:53 +00:00
fix comp now?
This commit is contained in:
parent
2cea0ff173
commit
d2623030fe
@ -1,7 +1,6 @@
|
||||
#include <std_include.hpp>
|
||||
|
||||
#include "crypto_key.hpp"
|
||||
#include "console.hpp"
|
||||
|
||||
#include <utils/io.hpp>
|
||||
|
||||
@ -45,10 +44,7 @@ utils::cryptography::ecc::key load_or_generate_key() {
|
||||
|
||||
utils::cryptography::ecc::key get_key_internal() {
|
||||
auto key = load_or_generate_key();
|
||||
if (!utils::io::write_file("./public.key", key.get_public_key())) {
|
||||
console::info("Failed to write public key!");
|
||||
}
|
||||
|
||||
utils::io::write_file("./public.key", key.get_public_key());
|
||||
return key;
|
||||
}
|
||||
} // namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user