stop warning
authorDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:56:27 +0000 (14:56 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 26 Dec 2012 14:56:27 +0000 (14:56 +0000)
(backport from HEAD)

ssl/t1_lib.c

index 48e99c5..25723d3 100644 (file)
@@ -3025,7 +3025,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)