From 4fc778c8eb538f447c2e8b54bcbc29f74ca2fc73 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 5 Feb 2026 22:14:43 -0700 Subject: [PATCH] warning for 'type' may be used uninitialiized --- src/ssl_api_pk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl_api_pk.c b/src/ssl_api_pk.c index 92bdd522c1..668b7b6dce 100644 --- a/src/ssl_api_pk.c +++ b/src/ssl_api_pk.c @@ -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) {