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

James Peach commented on TS-2552:
---------------------------------

{{SSL_CTX_set_tlsext_ticket_key_cb}} is defined as

{code}
#define SSL_CTX_set_tlsext_ticket_key_cb(ssl, cb) \
SSL_CTX_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB,(void (*)(void))cb)
{code}

So we should ifdef this on {{SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB}}


> configure fails to detect missing SSL_CTX_set_tlsext_ticket_key_cb
> ------------------------------------------------------------------
>
>                 Key: TS-2552
>                 URL: https://issues.apache.org/jira/browse/TS-2552
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>            Reporter: Leif Hedstrom
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> The problem is that we only try to compile this, presumably not link it? 
> Hence, without an explicit -Werror to configure, platforms which do not 
> support the session ticket extension (e..g. RHEL5) can not compile.
> The problem stems from the fact that without -Werror, the compiler simply 
> says:
> {code}
> conftest.c:56: warning: implicit declaration of function 
> 'SSL_CTX_set_tlsext_ticket_key_cb'
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to