warning for 'type' may be used uninitialiized

This commit is contained in:
JacobBarthelmeh
2026-02-05 22:14:43 -07:00
parent 25db90afe7
commit 4fc778c8eb
+1 -1
View File
@@ -51,7 +51,7 @@ static int check_cert_key_dev(word32 keyOID, byte* privKey, word32 privSz,
const byte* pubKey, word32 pubSz, int label, int id, void* heap, int devId)
{
int ret = 0;
int type;
int type = 0;
void *pkey = NULL;
if (privKey == NULL) {