diff --git a/secure_enclave/secure_enclave.c b/secure_enclave/secure_enclave.c index e6dc5494..f7d28a3a 100644 --- a/secure_enclave/secure_enclave.c +++ b/secure_enclave/secure_enclave.c @@ -609,7 +609,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;