X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Ft1_lib.c;h=5873053f83cc571e98c29071d5c22c6ec3dc3235;hp=3421e34549ee668f7235603b6e59dde6fba8d0c4;hb=8e2a06bf5c0587f69dff0cd654214c20096baf84;hpb=a1644902eb054136591b36cf7b7fc427bc4f52bd diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 3421e34549..5873053f83 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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)