You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2015/03/31 05:09:53 UTC

[jira] [Updated] (TS-3380) ATS no longer compiles with libressl

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

Leif Hedstrom updated TS-3380:
------------------------------
    Summary: ATS no longer compiles with libressl  (was: ats no longer compiles with libressl)

> ATS no longer compiles with libressl
> ------------------------------------
>
>                 Key: TS-3380
>                 URL: https://issues.apache.org/jira/browse/TS-3380
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: SSL
>            Reporter: Igor Galić
>            Assignee: Susan Hinrichs
>             Fix For: 5.3.0
>
>
> this probably means we're using an API that would better be left untouched.
> {code}
>   CXX      SSLUtils.o
> SSLUtils.cc:1681:3: error: use of undeclared identifier 'SSL_CTX_set_cert_cb'; did you mean 'SSL_CTX_set_verify'?
>   SSL_CTX_set_cert_cb(ctx, ssl_cert_callback, NULL);
>   ^~~~~~~~~~~~~~~~~~~
>   SSL_CTX_set_verify
> /opt/libressl/include/openssl/ssl.h:1638:6: note: 'SSL_CTX_set_verify' declared here
> void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
>      ^
> SSLUtils.cc:1681:28: error: cannot initialize a parameter of type 'int' with an lvalue of type 'int (SSL *, void *)'
>   SSL_CTX_set_cert_cb(ctx, ssl_cert_callback, NULL);
>                            ^~~~~~~~~~~~~~~~~
> /opt/libressl/include/openssl/ssl.h:1638:43: note: passing argument to parameter 'mode' here
> void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
>                                           ^
> 2 errors generated.
> Makefile:966: recipe for target 'SSLUtils.o' failed
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)