Unverified Commit 2d23d246 authored by Oleh Nikolaiev's avatar Oleh Nikolaiev Committed by GitHub

Merge pull request #368 from skalenetwork/bug/SKALE-4751-remove-extra-decrypt-check

SKALE-4751 remove extra check
parents 7c998200 5b4a1cea
...@@ -605,7 +605,6 @@ void trustedDecryptKey(int *errStatus, char *errString, uint8_t *encryptedPrivat ...@@ -605,7 +605,6 @@ void trustedDecryptKey(int *errStatus, char *errString, uint8_t *encryptedPrivat
CHECK_STATE(encryptedPrivateKey); CHECK_STATE(encryptedPrivateKey);
CHECK_STATE(key); CHECK_STATE(key);
CHECK_STATE( enc_len == strnlen( encryptedPrivateKey, 1024 ) );
*errStatus = -9; *errStatus = -9;
......
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