[Bug 243963] mail/spamd: Fails to compile with openssl 1.1.1 on 12.1-p2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 7 20:41:25 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243963
Bug ID: 243963
Summary: mail/spamd: Fails to compile with openssl 1.1.1 on
12.1-p2
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ohauer at FreeBSD.org
Reporter: asharp at iqonline.net
Assignee: ohauer at FreeBSD.org
Flags: maintainer-feedback?(ohauer at FreeBSD.org)
spamd (4.9.1) fails to compile when OpenSSL 1.1.1 is utilized.
Relevant portion of compile output:
cc -O2 -pipe -I/usr/local/include -fstack-protector-strong
-fno-strict-aliasing -Wall -Wstrict-prototypes -MD -MF.depend.sync.o
-MTsync.o -std=gnu99 -fstack-protector-strong -Qunused-arguments -c sync.c
-o sync.o
sync.c:442:11: error: variable has incomplete type 'HMAC_CTX' (aka 'struct
hmac_ctx_st')
HMAC_CTX ctx;
^
/usr/local/include/openssl/ossl_typ.h:102:16: note: forward declaration of
'struct hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
^
sync.c:458:2: warning: implicit declaration of function 'HMAC_CTX_init' is
invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_init(&ctx);
^
sync.c:458:2: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
sync.c:459:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations]
HMAC_Init(&ctx, sync_key, strlen(sync_key), EVP_sha1());
^
/usr/local/include/openssl/hmac.h:30:1: note: 'HMAC_Init' has been explicitly
marked deprecated here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int
len,
^
/usr/local/include/openssl/opensslconf.h:158:34: note: expanded from macro
'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
^
/usr/local/include/openssl/opensslconf.h:121:55: note: expanded from macro
'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
sync.c:519:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is
invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&ctx);
^
sync.c:519:2: warning: this function declaration is not a prototype
[-Wstrict-prototypes]
sync.c:530:11: error: variable has incomplete type 'HMAC_CTX' (aka 'struct
hmac_ctx_st')
HMAC_CTX ctx;
^
/usr/local/include/openssl/ossl_typ.h:102:16: note: forward declaration of
'struct hmac_ctx_st'
typedef struct hmac_ctx_st HMAC_CTX;
^
sync.c:540:2: warning: implicit declaration of function 'HMAC_CTX_init' is
invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_init(&ctx);
^
sync.c:541:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations]
HMAC_Init(&ctx, sync_key, strlen(sync_key), EVP_sha1());
^
/usr/local/include/openssl/hmac.h:30:1: note: 'HMAC_Init' has been explicitly
marked deprecated here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int
len,
^
/usr/local/include/openssl/opensslconf.h:158:34: note: expanded from macro
'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
^
/usr/local/include/openssl/opensslconf.h:121:55: note: expanded from macro
'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
^
sync.c:576:2: warning: implicit declaration of function 'HMAC_CTX_cleanup' is
invalid in C99 [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&ctx);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list