Skip to content

Commit

Permalink
Merge pull request #368 from skalenetwork/bug/SKALE-4751-remove-extra…
Browse files Browse the repository at this point in the history
…-decrypt-check

SKALE-4751 remove extra check
  • Loading branch information
olehnikolaiev authored Nov 9, 2021
2 parents 7c99820 + 5b4a1ce commit 2d23d24
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 @@ -605,7 +605,6 @@ void trustedDecryptKey(int *errStatus, char *errString, uint8_t *encryptedPrivat

CHECK_STATE(encryptedPrivateKey);
CHECK_STATE(key);
CHECK_STATE( enc_len == strnlen( encryptedPrivateKey, 1024 ) );

*errStatus = -9;

Expand Down

0 comments on commit 2d23d24

Please sign in to comment.