]> granicus.if.org Git - openssl/commitdiff
stop warning
authorDr. Stephen Henson <steve@openssl.org>
Thu, 19 Jul 2012 16:57:19 +0000 (16:57 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 19 Jul 2012 16:57:19 +0000 (16:57 +0000)
ssl/t1_lib.c

index 3421e34549ee668f7235603b6e59dde6fba8d0c4..5873053f83cc571e98c29071d5c22c6ec3dc3235 100644 (file)
@@ -2988,7 +2988,7 @@ static int tls12_get_pkey_idx(unsigned char sig_alg)
 static void tls1_lookup_sigalg(int *phash_nid, int *psign_nid,
                        int *psignhash_nid, const unsigned char *data)
        {
-       int sign_nid, hash_nid;
+       int sign_nid = 0, hash_nid = 0;
        if (!phash_nid && !psign_nid && !psignhash_nid)
                return;
        if (phash_nid || psignhash_nid)