From 07d29407575f98efa0e5e0b54e14fd1f775a2318 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Wed, 20 Jul 2022 16:42:09 +0100 Subject: [PATCH] Fix issue caused by undo in IDE --- wolfcrypt/src/port/nxp/se050_port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/port/nxp/se050_port.c b/wolfcrypt/src/port/nxp/se050_port.c index 633295e8a..ae08ca437 100644 --- a/wolfcrypt/src/port/nxp/se050_port.c +++ b/wolfcrypt/src/port/nxp/se050_port.c @@ -554,8 +554,8 @@ int se050_ecc_insert_private_key(int keyId, const byte* eccDer, kKeyObject_Mode_Persistent); } if (status == kStatus_SSS_Success) { - status = sss_key_store_set_key(&host_keystore, &newKey, ecc_key_der_256, - sizeof_ecc_key_der_256, keySizeBits, + status = sss_key_store_set_key(&host_keystore, &newKey, eccDer, + eccDerSize, keySizeBits, NULL, 0); } wolfSSL_CryptHwMutexUnLock();