httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject mod_ssl ssl_util_stapling.c warnings
Date Mon, 29 Nov 2010 21:46:05 GMT
Hi Steve,
ssl_util_stapling.c issues warnings / breaks when compiled with OSSL 
1.0.0; MSVC warns:
\modules\ssl\ssl_util_stapling.c(140) : warning C4133: '=' : 
incompatible types - from 'struct stack_st_OPENSSL_STRING *' to 'struct 
stack_st_STRING *'
C:\buildprep\httpd-2.3.x.10\modules\ssl\ssl_util_stapling.c(142) : 
warning C4133: 'function' : incompatible types - from 'struct 
stack_st_STRING *' to 'struct stack_st *'
C:\buildprep\httpd-2.3.x.10\modules\ssl\ssl_util_stapling.c(148) : 
warning C4133: 'function' : incompatible types - from 'struct 
stack_st_STRING *' to 'struct stack_st_OPENSSL_STRING *'

and my picky CodeWarrior breaks:
Compiling ssl_util_stapling.c
### mwccnlm Compiler:
#    File: ssl_util_stapling.c
# ----------------------------
#     140:      aia = X509_get1_ocsp(x);
#   Error:                             ^
#   illegal implicit conversion from 'struct stack_st_OPENSSL_STRING *' to
#   'struct stack_st_STRING *'
### mwccnlm Compiler:
#     142:          cinf->uri = sk_STRING_pop(aia);
#   Error:                                       ^
#   illegal implicit conversion from 'struct stack_st_STRING *' to
#   'struct stack_st *'
### mwccnlm Compiler:
#     148:          X509_email_free(aia);
#   Error:                             ^
#   illegal implicit conversion from 'struct stack_st_STRING *' to
#   'struct stack_st_OPENSSL_STRING *'

Errors caused tool to abort.

I think that we had some similar already in the past, and you suggested 
a change which was compatible with both 0.9.8 and 1.0.0 branches, but I 
cant recall ...
Or do we need to cleanly solve this with some version-depent defines?

Gün.



Mime
View raw message