forked from wolfSSL/wolfssl
wolfcrypt/src/dilithium.c: fix null deref in wc_dilithium_init_ex().
This commit is contained in:
@@ -6952,10 +6952,9 @@ int wc_dilithium_init_ex(dilithium_key* key, void* heap, int devId)
|
||||
key->idLen = 0;
|
||||
key->labelLen = 0;
|
||||
#endif
|
||||
key->heap = heap;
|
||||
}
|
||||
|
||||
key->heap = heap;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user