From 19f1402f1d2d98cf7aeddd4b892206af17bd2cb9 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 11 Dec 2014 21:39:47 +0100 Subject: [PATCH] wincng.c: silent some more gcc compiler warnings. --- src/wincng.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wincng.c b/src/wincng.c index 55c83a7..0769923 100644 --- a/src/wincng.c +++ b/src/wincng.c @@ -623,8 +623,8 @@ _libssh2_wincng_asn_decode_bn(unsigned char *pbEncoded, unsigned char **ppbDecoded, unsigned long *pcbDecoded) { - unsigned char *pbDecoded, *pbInteger; - unsigned long cbDecoded, cbInteger; + unsigned char *pbDecoded = NULL, *pbInteger; + unsigned long cbDecoded = 0, cbInteger; int ret; ret = _libssh2_wincng_asn_decode(pbEncoded, cbEncoded, @@ -755,7 +755,7 @@ _libssh2_wincng_rsa_new(libssh2_rsa_ctx **rsa, BCRYPT_RSAKEY_BLOB *rsakey; LPCWSTR lpszBlobType; unsigned char *key; - unsigned long keylen, offset, mlen, p1len, p2len; + unsigned long keylen, offset, mlen, p1len = 0, p2len = 0; int ret; mlen = max(_libssh2_wincng_bn_size(ndata, nlen),