Unverified Commit 0679dc88 authored by kladko's avatar kladko

SKALE-3170-backup-key

parent f7a7cf4b
......@@ -112,7 +112,22 @@ void free_function(void *, size_t);
unsigned char *globalRandom;
#define CALL_ONCE
void trustedEnclaveInit(uint32_t _logLevel) {
bool called = false;
if (called) {
LOG_ERROR(__FUNCTION__);
LOG_ERROR("called twice. Aborting!");
abort();
}
called = true;
LOG_INFO(__FUNCTION__);
globalLogLevel_ = _logLevel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment