You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (Resolved) (JIRA)" <ji...@apache.org> on 2012/04/06 01:02:28 UTC
[jira] [Resolved] (TS-1189) Build problem on CentOS5
[ https://issues.apache.org/jira/browse/TS-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom resolved TS-1189.
-------------------------------
Resolution: Fixed
Fixed as per jpeach's wishes.
> 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