Igor Galić created TS-3380:
------------------------------

             Summary: 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