Hi,
Jie Gao schrieb:
Also:
...
/usr/local/src/apache/srclib/apr/libtool --silent --mode=compile /opt/SUNWspro/bin/cc
-g -fast -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE
-DAP_DEBUG -I/usr/local/src/apache/srclib/pcre -I. -I/usr/local/src/apache/os/unix
-I/usr/local/src/apache/server/mpm/worker -I/usr/local/src/apache/modules/http
-I/usr/local/src/apache/modules/filters -I/usr/local/src/apache/modules/proxy
-I/usr/local/src/apache/include -I/usr/local/src/apache/modules/generators
-I/usr/local/src/apache/modules/mappers -I/usr/local/src/apache/modules/database
-I/usr/local/src/apache/srclib/apr/include
-I/usr/local/src/apache/srclib/apr-util/include
-I/usr/local/src/apache/srclib/apr-util/xml/expat/lib
-I/usr/local/src/apache/modules/proxy/../generators -I/usr/sfw/include
-I/usr/local/src/apache/modules/ssl -I/usr/local/src/apache/modules/dav/main
-prefer-pic -c ssl_engine_vars.c && touch ssl_engine_vars.slo
"ssl_engine_vars.c", line 656: warning: argument #1 is incompatible with
prototype:
prototype: pointer to struct ssl_cipher_st {int valid, pointer to const char
name, unsigned long id, unsigned long algorithms, unsigned long algo_strength, unsigned
long algorithm2, int strength_bits, int alg_bits, unsigned long mask, unsigned long
mask_strength} : "/usr/sfw/include/openssl/ssl.h", line 1196
argument : pointer to const struct ssl_cipher_st {int valid, pointer to
const char name, unsigned long id, unsigned long algorithms, unsigned long
algo_strength, unsigned long algorithm2, int strength_bits, int alg_bits,
unsigned long mask, unsigned long mask_strength}
/usr/local/src/apache/srclib/apr/libtool --silent --mode=compile /opt/SUNWspro/bin/cc -g
...
hmm, cant get that; my oldest version is openssl 0.9.7m, and there I see
the prototype for SSL_CIPHER_get_bits() in ssl.h as:
int SSL_CIPHER_get_bits(const SSL_CIPHER *c,int *alg_bits);
and since we define in line 650 of ssl_engine_vars.c:
const SSL_CIPHER *cipher;
we should be fine ...
can you please lookup the prototype for SSL_CIPHER_get_bits() from your
0.9.7d ssl.h and post here?
I would be suprised if the prototype would change within one branch
(0.9.7) ...
thanks, Gün.