[ 
https://issues.apache.org/jira/browse/PROTON-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiri Daněk updated PROTON-2238:
-------------------------------
    Description: 
OpenSSL 3.0.0 deprecates {{SSL_CTX_load_verify_locations}}.

As {{-Werror}} is turned on by default, the warning causes a build failure:

{noformat}
qpid-proton-0.31.0/c/src/ssl/openssl.c:722:3: error: 
'SSL_CTX_load_verify_locations' is deprecated [-Werror=deprecated-declarations]
722 | if (SSL_CTX_load_verify_locations( domain->ctx, file, dir ) != 1) {
{noformat}

  was:
OpenSSL 3.0.0 deprecates {{}}{{SSL_CTX_load_verify_locations.}}

As -Werror is turned on by default, the warning causes a build failure:

qpid-proton-0.31.0/c/src/ssl/openssl.c:722:3: error: 
'SSL_CTX_load_verify_locations' is deprecated [-Werror=deprecated-declarations]
722 | if (SSL_CTX_load_verify_locations( domain->ctx, file, dir ) != 1) {


> qpid-proton doesn't build with OpenSSL 3.0.0
> --------------------------------------------
>
>                 Key: PROTON-2238
>                 URL: https://issues.apache.org/jira/browse/PROTON-2238
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.31.0
>            Reporter: Vitezslav Cizek
>            Priority: Minor
>
> OpenSSL 3.0.0 deprecates {{SSL_CTX_load_verify_locations}}.
> As {{-Werror}} is turned on by default, the warning causes a build failure:
> {noformat}
> qpid-proton-0.31.0/c/src/ssl/openssl.c:722:3: error: 
> 'SSL_CTX_load_verify_locations' is deprecated 
> [-Werror=deprecated-declarations]
> 722 | if (SSL_CTX_load_verify_locations( domain->ctx, file, dir ) != 1) {
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to