Package: openvpn Version: 2.4.0-6 Building with: dpkg-buildpackage --build=binary
leads to:
In file included from crypto.h:131:0,
from crypto.c:36:
crypto.c: In function ‘init_key_ctx’:
crypto.c:846:32: error: invalid application of ‘sizeof’ to incomplete type
‘cipher_ctx_t {aka struct evp_cipher_ctx_st}’
ALLOC_OBJ(ctx->cipher, cipher_ctx_t);
^
buffer.h:1013:61: note: in definition of macro ‘ALLOC_OBJ’
check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
^~~~
crypto.c:870:30: error: invalid application of ‘sizeof’ to incomplete type
‘hmac_ctx_t {aka struct hmac_ctx_st}’
ALLOC_OBJ(ctx->hmac, hmac_ctx_t);
^
buffer.h:1013:61: note: in definition of macro ‘ALLOC_OBJ’
check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
^~~~
Full build log is attached.
--
Jean-Christophe
openvpn_2.4.0-6.build
Description: Binary data

