Fix issue caused by undo in IDE

This commit is contained in:
Andrew Hutchings
2022-07-20 16:42:09 +01:00
parent d7b4abfa0b
commit 07d2940757

View File

@ -554,8 +554,8 @@ int se050_ecc_insert_private_key(int keyId, const byte* eccDer,
kKeyObject_Mode_Persistent); kKeyObject_Mode_Persistent);
} }
if (status == kStatus_SSS_Success) { if (status == kStatus_SSS_Success) {
status = sss_key_store_set_key(&host_keystore, &newKey, ecc_key_der_256, status = sss_key_store_set_key(&host_keystore, &newKey, eccDer,
sizeof_ecc_key_der_256, keySizeBits, eccDerSize, keySizeBits,
NULL, 0); NULL, 0);
} }
wolfSSL_CryptHwMutexUnLock(); wolfSSL_CryptHwMutexUnLock();