[
https://issues.apache.org/jira/browse/TS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313221#comment-14313221
]
ASF subversion and git services commented on TS-3380:
-----------------------------------------------------
Commit 2dbdd9c266a2ed663116ec275c686d7ae809dfd7 in trafficserver's branch
refs/heads/master from shinrich
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=2dbdd9c ]
TS-3380: Add configure time constant to enable openssl 1.0.2 changes to compile
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
>
> 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)