Skip to content

Commit 8726611

Browse files
authored
Merge pull request #9746 from JacobBarthelmeh/wolfhsm
warning for 'type' may be used uninitialiized
2 parents 25db90a + 4fc778c commit 8726611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ssl_api_pk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static int check_cert_key_dev(word32 keyOID, byte* privKey, word32 privSz,
5151
const byte* pubKey, word32 pubSz, int label, int id, void* heap, int devId)
5252
{
5353
int ret = 0;
54-
int type;
54+
int type = 0;
5555
void *pkey = NULL;
5656

5757
if (privKey == NULL) {

0 commit comments

Comments
 (0)