[
https://issues.apache.org/jira/browse/TS-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247744#comment-13247744
]
Leif Hedstrom commented on TS-1189:
-----------------------------------
Reported to me by Christopher Eckhardt.
> Build problem on CentOS5
> ------------------------
>
> Key: TS-1189
> URL: https://issues.apache.org/jira/browse/TS-1189
> Project: Traffic Server
> Issue Type: Bug
> Components: SSL
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Priority: Critical
> Fix For: 3.1.4
>
>
> {code}
> diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
> index 33ebe64..0a41a08 100644
> --- a/iocore/net/SSLNetVConnection.cc
> +++ b/iocore/net/SSLNetVConnection.cc
> @@ -673,9 +673,9 @@ SSLNetVConnection::registerNextProtocolSet(const
> SSLNextProtocolSet * s)
> }
>
> int
> -SSLNetVConnection::advertise_next_protocol(
> - SSL *ssl, const unsigned char **out, unsigned int *outlen, void *arg)
> +SSLNetVConnection::advertise_next_protocol(SSL *ssl, const unsigned char
> **out, unsigned int *outlen, void *arg)
> {
> +#if TS_USE_TLS_NPN
> SSLNetVConnection * netvc = (SSLNetVConnection *)SSL_get_app_data(ssl);
>
> ink_release_assert(netvc != NULL);
> @@ -686,4 +686,7 @@ SSLNetVConnection::advertise_next_protocol(
> }
>
> return SSL_TLSEXT_ERR_NOACK;
> +#else
> + return 0;
> +#endif
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira