From: frank mori hess <[EMAIL PROTECTED]>

fmhess> I got a compiler warning while compiling version 0.9.6 which
fmhess> led me to locate a bug in the dgst.c file.  On line 227, there
fmhess> is a comparision 
fmhess> 
fmhess> if(out_bin == -1)
fmhess> 
fmhess> where out_bin is a variable of type char.

Oh, flag variables...  Having them being char is actually pretty
silly, it doesn't gain you anything, and in the worst case you get
slightly worse performance (not that it matters much for the little
those variables are used).

I've now changed out_bin and the rest of the variables on that ilne to
be int instead of char...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to