mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
do not reserve ATMEL_SLOT_ECDHE type for TNGTLS
This commit is contained in:
@@ -263,7 +263,12 @@ int atmel_ecc_alloc(int slotType)
|
||||
goto exit;
|
||||
case ATMEL_SLOT_ECDHE:
|
||||
slotId = ATECC_SLOT_ECDHE_PRIV;
|
||||
#ifdef WOLFSSL_ATECC_TNGTLS
|
||||
/* not reserved in mSlotList, so return */
|
||||
goto exit;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case ATMEL_SLOT_ECDHE_ENC:
|
||||
slotId = ATECC_SLOT_ENC_PARENT;
|
||||
#ifdef WOLFSSL_ATECC_TNGTLS
|
||||
|
Reference in New Issue
Block a user