[Pkg-openssl-devel] Bug#429740: Bug#429740: openssl: FTBFS with gcc-4.2: Test failures
Kurt Roeckx
kurt at roeckx.be
Sun Sep 2 16:10:48 UTC 2007
On Sun, Sep 02, 2007 at 05:33:14PM +0200, Kurt Roeckx wrote:
> reopen 429740
> thanks
>
> During the build log it's still showing things like:
> ocsp_ext.c:447: warning: function called through a non-compatible type
> ocsp_ext.c:447: note: if this code is reached, the program will abort
> ocsp_ext.c: In function 'OCSP_accept_responses_new':
> ocsp_ext.c:476: warning: function called through a non-compatible type
> ocsp_ext.c:476: note: if this code is reached, the program will abort
> ocsp_ext.c: In function 'OCSP_archive_cutoff_new':
> ocsp_ext.c:497: warning: function called through a non-compatible type
> ocsp_ext.c:497: note: if this code is reached, the program will abort
> ocsp_ext.c: In function 'OCSP_url_svcloc_new':
> ocsp_ext.c:536: warning: function called through a non-compatible type
> ocsp_ext.c:536: note: if this code is reached, the program will abort
>
> However, it doesn't have any test-suite failures in 0.9.8e-7 anymore.
So,
The following patch is also needed:
--- crypto/ocsp/ocsp.h.orig 2007-09-02 17:56:39.000000000 +0200
+++ crypto/ocsp/ocsp.h 2007-09-02 18:04:50.000000000 +0200
@@ -469,7 +469,7 @@
ASN1_STRING *ASN1_STRING_encode(ASN1_STRING *s, i2d_of_void *i2d,
void *data, STACK_OF(ASN1_OBJECT) *sk);
#define ASN1_STRING_encode_of(type,s,i2d,data,sk) \
-((ASN1_STRING *(*)(ASN1_STRING *,I2D_OF(type),type *,STACK_OF(ASN1_OBJECT) *))openssl_fcast(ASN1_STRING_encode))(s,i2d,data,sk)
+ ASN1_STRING_encode(s, CHECKED_I2D_OF(type, i2d), data, sk)
X509_EXTENSION *OCSP_crlID_new(char *url, long *n, char *tim);
I'll try and upload a fixed version soon.
Kurt
More information about the Pkg-openssl-devel
mailing list