Re: [openssl.org #443] gcc warning on dsl_dl.c function dl_load for OpenSSH 0.9.7 on HP- UX 11.0

2003-01-08 Thread Lutz Jaenicke via RT

On Tue, Jan 07, 2003 at 10:24:57PM +0100, Reiter, Robert W via RT wrote:
> 
> 
> FYI ... possibly insignificant, but the following fragment from output of
> running "make" shows the sole warning message that was generated during a
> build/compile of OpenSSH 0.9.7 on an HP-UX 11.0 machine today, and I thought
> it worth reporting since other compiler warnings have been reported, but
> nothing regarding the dsl_dl.c function dl_load ...
> 
> making all in crypto/dso...
> gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
> -DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
> -D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c dso_dl.c
> dso_dl.c: In function `dl_load':
> dso_dl.c:129: warning: passing arg 3 of `shl_load' makes integer from
> pointer without a cast

The third argument shouldn't have been the NULL-pointer but 0L.
The two values are actually identical, so functionality was not affected.
Fix checked in and ticket closed.

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus

__
OpenSSL Project http://www.openssl.org
Development Mailing List   [EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



[openssl.org #443] gcc warning on dsl_dl.c function dl_load for OpenSSH 0.9.7 on HP- UX 11.0

2003-01-07 Thread Reiter, Robert W via RT


FYI ... possibly insignificant, but the following fragment from output of
running "make" shows the sole warning message that was generated during a
build/compile of OpenSSH 0.9.7 on an HP-UX 11.0 machine today, and I thought
it worth reporting since other compiler warnings have been reported, but
nothing regarding the dsl_dl.c function dl_load ...

making all in crypto/dso...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c dso_dl.c
dso_dl.c: In function `dl_load':
dso_dl.c:129: warning: passing arg 3 of `shl_load' makes integer from
pointer without a cast

Best regards,
Bob Reiter

P.S. Below is the output from running "make report" immediately afterwards
(being uncertain as to whether all of this is relevant or if just the 'Test
report in file testlog' portion at the end is needed, I'm providing the
whole thing anyway):

hpg5 165: make report
Checking compiler...
ar: creating cctest.a
Running make...
making all in crypto...
making all in crypto/md2...
making all in crypto/md4...
making all in crypto/md5...
making all in crypto/sha...
making all in crypto/hmac...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c hmac.c
ar  r ../../libcrypto.a hmac.o
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/ripemd...
making all in crypto/des...
making all in crypto/rc2...
making all in crypto/rc4...
making all in crypto/bf...
making all in crypto/cast...
making all in crypto/bn...
making all in crypto/ec...
making all in crypto/rsa...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c rsa_sign.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c rsa_saos.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c rsa_oaep.c
ar  r ../../libcrypto.a rsa_eay.o rsa_gen.o rsa_lib.o rsa_sign.o
rsa_saos.o rsa_err.o  rsa_pk1.o rsa_ssl.o rsa_none.o rsa_oaep.o rsa_chk.o
rsa_null.o  rsa_asn1.o
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/dsa...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c dsa_gen.c
ar  r ../../libcrypto.a dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o
dsa_vrf.o dsa_sign.o  dsa_err.o dsa_ossl.o
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/dh...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c dh_asn1.c
ar  r ../../libcrypto.a dh_asn1.o dh_gen.o dh_key.o dh_lib.o
dh_check.o dh_err.o
/usr/bin/ranlib ../../libcrypto.a || echo Never mind.
making all in crypto/dso...
making all in crypto/engine...
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c eng_table.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_rsa.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_dsa.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_dh.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_rand.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_cipher.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c tb_digest.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS  -DDSO_DL
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_IDEA
-D_REENTRANT -O3 -DB_ENDIAN -DBN_DIV2W -c eng_openssl.c
gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS