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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Mar 6 12:16:03 CST 2023


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

Friendly Automation commented on ASTERISK-30107:
------------------------------------------------

Change 19948 merged by Joshua Colp:
main/iostream.c: fix build with libressl

[https://gerrit.asterisk.org/c/asterisk/+/19948|https://gerrit.asterisk.org/c/asterisk/+/19948]

> 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