From 5b4a1cea6820daf52f2108f4a64a775cead88e7f Mon Sep 17 00:00:00 2001 From: Oleh Date: Tue, 9 Nov 2021 13:06:48 +0200 Subject: [PATCH] SKALE-4751 remove extra check --- secure_enclave/secure_enclave.c | 1 - 1 file changed, 1 deletion(-) diff --git a/secure_enclave/secure_enclave.c b/secure_enclave/secure_enclave.c index 9478dfe7..78b84a5d 100644 --- a/secure_enclave/secure_enclave.c +++ b/secure_enclave/secure_enclave.c @@ -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;