Date: Fri, 07 Feb 2020 20:41:23 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 243963] mail/spamd: Fails to compile with openssl 1.1.1 on 12.1-p2 Message-ID: <bug-243963-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243963 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@FreeBSD.org Reporter: asharp@iqonline.net Assignee: ohauer@FreeBSD.org Flags: maintainer-feedback?(ohauer@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=3Dgnu99 -fstack-protector-strong -Qunused-arguments -c s= ync.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 explicit= ly 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 explicit= ly 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); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243963-7788>