[asterisk-bugs] [JIRA] (ASTERISK-30107) iostream: Build failure with libressl

Fabrice Fontaine (JIRA) noreply at issues.asterisk.org
Sun Jun 12 16:10:49 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259475#comment-259475 ] 

Fabrice Fontaine commented on ASTERISK-30107:
---------------------------------------------

I'm really not used to gerrit, I got the following error when trying to install commit-msg hook:

git review -s
Creating a git remote called 'gerrit' that maps to:
        ssh://ffontaine@gerrit.asterisk.org:29418/asterisk.git
Problems encountered installing commit-msg hook
The following command failed with exit code 255
    "scp -P29418 ffontaine at gerrit.asterisk.org:hooks/commit-msg .git/hooks/commit-msg"
-----------------------
subsystem request failed on channel 0
scp: Connection closed
-----------------------

> iostream: Build failure with libressl
> -------------------------------------
>
>                 Key: ASTERISK-30107
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30107
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 16.25.2
>         Environment: buildroot
>            Reporter: Fabrice Fontaine
>            Assignee: Fabrice Fontaine
>              Labels: patch
>         Attachments: 0006-main-iostream.c-fix-build-with-libressl.patch
>
>
> The following build failure is raised with libressl, it can be fixed by using SSL_is_server which is available since version 2.7.0 and
> https://github.com/libressl-portable/openbsd/commit/d7ec516916c5eaac29b02d7a8ac6570f63b458f7:
> iostream.c: In function 'ast_iostream_close':
> iostream.c:559:41: error: invalid use of incomplete typedef 'SSL' {aka 'struct ssl_st'}
>   559 |                         if (!stream->ssl->server) {
>       |                                         ^~
> Full build log:
>  - http://autobuild.buildroot.org/results/ce4d62d00bb77ba5b303cacf6be7e350581a62f9



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list