[asterisk-bugs] [JIRA] (ASTERISK-29818) Build failure on NetBSD due to hmac function collision
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Wed Jan 19 09:49:07 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257765#comment-257765 ]
Friendly Automation commented on ASTERISK-29818:
------------------------------------------------
Change 17901 merged by Friendly Automation:
include: Remove unimplemented HMAC declarations
[https://gerrit.asterisk.org/c/asterisk/+/17901|https://gerrit.asterisk.org/c/asterisk/+/17901]
> Build failure on NetBSD due to hmac function collision
> ------------------------------------------------------
>
> Key: ASTERISK-29818
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29818
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General
> Affects Versions: GIT
> Environment: NetBSD 9.2 (amd64)
> Reporter: Michał Górny
> Assignee: Michał Górny
>
> When building Asterisk on NetBSD, the build fails with the following error:
> {code}
> [CC] utils.c -> utils.o
> In file included from utils.c:50:0:
> /home/mgorny/asterisk/include/asterisk/sha1.h:302:12: error: conflicting types for 'hmac'
> extern int hmac(SHAversion whichSha, /* which SHA algorithm to use */
> ^~~~
> In file included from /home/mgorny/asterisk/include/asterisk/compat.h:41:0,
> from /home/mgorny/asterisk/include/asterisk.h:22,
> from utils.c:30:
> /usr/include/stdlib.h:305:10: note: previous declaration of 'hmac' was here
> ssize_t hmac(const char *, const void *, size_t, const void *, size_t, void *,
> ^~~~
> {code}
> It seems that this function isn't actually used anywhere.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list