Subject: Re: new openssl won't build on powerpc
To: Dave Huang <>
From: None <>
List: current-users
Date: 04/14/2001 17:08:51
>cc -O -pipe -Werror   -DMONOLITH -DUSE_SSL -DNO_RC5 -DNO_IDEA -DOPENSSLDIR=\"/etc/openssl\" -c /usr/src.local/usr.bin/openssl/../../crypto/dist/openssl/apps/dgst.c
>cc1: warnings being treated as errors
>/usr/src.local/usr.bin/openssl/../../crypto/dist/openssl/apps/dgst.c: In function `dgst_main':
>/usr/src.local/usr.bin/openssl/../../crypto/dist/openssl/apps/dgst.c:227: warning: comparison is always 0 due to limited range of data type
>Line 227 is
>        if(out_bin == -1) {
>and out_bin is a char, which is unsigned on the various PPC ports (or at
>least that's what I've heard :) I'm using macppc...

	thanks for reporting, does it help if we declare out_bin as an int?
	it seems to me that there's no reason to use char.