Skip to content

Commit

Permalink
Merge pull request #345 from skalenetwork/bug/SKALE-4520-cleanup-erro…
Browse files Browse the repository at this point in the history
…r-string-buffer

SKALE-4520 remove extra debug output
  • Loading branch information
gannakulikova authored Aug 30, 2021
2 parents b536b29 + 07093cd commit 6d99f83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion secure_enclave/secure_enclave.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ void trustedGetPublicEcdsaKey(int *errStatus, char *errString,
CHECK_STATUS2("AES_decrypt failed with status %d");

skey[enc_len - SGX_AESGCM_MAC_SIZE - SGX_AESGCM_IV_SIZE] = '\0';
strncpy(errString, skey, 1024);

status = mpz_set_str(privateKeyMpz, skey, ECDSA_SKEY_BASE);

Expand Down

0 comments on commit 6d99f83

Please sign in to comment.