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 3421e34..5873053 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)