Package: libevhtp
Version: 1.2.18-2.2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| /build/reproducible-path/libevhtp-1.2.18/evhtp.c:4885:78: error: passing 
argument 2 of ‘X509_STORE_set_check_issued’ from incompatible pointer type 
[-Wincompatible-pointer-types]
|  4885 |         
X509_STORE_set_check_issued(SSL_CTX_get_cert_store(htp->ssl_ctx), 
cfg->x509_chk_issued_cb);
|       |                                                                       
    ~~~^~~~~~~~~~~~~~~~~~~~
|       |                                                                       
       |
|       |                                                                       
       evhtp_ssl_chk_issued_cb {aka int (*)(struct x509_store_ctx_st *, struct 
x509_st *, struct x509_st *)}
| In file included from /usr/include/openssl/x509.h:798:
| /usr/include/openssl/x509_vfy.h:710:36: note: expected 
‘X509_STORE_CTX_check_issued_fn’ {aka ‘int (*)(struct x509_store_ctx_st *, 
const struct x509_st *, const struct x509_st *)’} but argument is of type 
‘evhtp_ssl_chk_issued_cb’ {aka ‘int (*)(struct x509_store_ctx_st *, struct 
x509_st *, struct x509_st *)’}
|   710 |     X509_STORE_CTX_check_issued_fn check_issued);
|       |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
| /usr/include/openssl/x509_vfy.h:411:15: note: 
‘X509_STORE_CTX_check_issued_fn’ declared here
|   411 | typedef int (*X509_STORE_CTX_check_issued_fn)(X509_STORE_CTX *ctx,
|       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /build/reproducible-path/libevhtp-1.2.18/include/evhtp/evhtp.h:182:16: note: 
‘evhtp_ssl_chk_issued_cb’ declared here
|   182 | typedef int (* evhtp_ssl_chk_issued_cb)(evhtp_x509_store_ctx_t * ctx, 
evhtp_x509_t * x, evhtp_x509_t * issuer);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~
| make[4]: *** [CMakeFiles/evhtp.dir/build.make:82: 
CMakeFiles/evhtp.dir/evhtp.c.o] Error 1
| make[4]: Leaving directory 
'/build/reproducible-path/libevhtp-1.2.18/obj-x86_64-linux-gnu'

Sebastian

Reply via email to