Fixes

parent c02bb8fb
...@@ -124,7 +124,9 @@ void encrypt_key(int *err_status, unsigned char *key, ...@@ -124,7 +124,9 @@ void encrypt_key(int *err_status, unsigned char *key,
*err_status = -3; *err_status = -3;
check_key(key); if (!check_key(key)) {
return;
}
uint32_t sealedLen = sgx_calc_sealed_data_size(0, strlen(key) + 1); uint32_t sealedLen = sgx_calc_sealed_data_size(0, strlen(key) + 1);
......
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