Steve,

I just noticed this warning whilst compiling CVS HEAD:

t1_lib.c: In function ‘tls1_lookup_sigalg’:
t1_lib.c:nnnn:16: warning: ‘hash_nid’ may be used uninitialized in this function
(Line number scrubbed 'cos I have local edits)

The uninitialized use of hash_nid seems to be in the function's last if statement: if (sign_nid && hash_nid)

I suggest:
- int sign_nid, hash_nid;
+ int sign_nid, hash_nid = 0;

--
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to