* Reiter, Robert W via RT ([EMAIL PROTECTED]) 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

That 3rd parameter is a NULL - not having an HPUX handy myself I can't
really look at this. Can you check the man page(s) and see what the 3rd
parameter to "shl_load" is supposed to represent anyway? I assume it's a
flags variable to control resolution of external symbols (a la
"RTLD_LAZY" for dlfcn.h platforms). If so, that would explain, as it
should then be an integer and NULL is more typically a pointer. Can you
check the man pages to confirm/deny any of this and/or try using a zero
in place of the NULL?

Cheers,
Geoff

-- 
Geoff Thorpe
[EMAIL PROTECTED]
http://www.openssl.org/

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

Reply via email to