[ 
https://issues.apache.org/jira/browse/TS-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312613#comment-14312613
 ] 

Susan Hinrichs commented on TS-3380:
------------------------------------

This is part of the openssl 1.0.2 extension.  I guess we need to augment our 
openssl compile time version checking to include libressl as well.

> 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ć
>
> 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)

Reply via email to