TS-1146: fix the CentOS5 build
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a10b8090 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a10b8090 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a10b8090 Branch: refs/heads/5.0.x Commit: a10b8090fcb1dc8fa745df9b12d15596ec76cc4d Parents: 358e926 Author: James Peach <jpe...@apache.org> Authored: Fri Dec 6 16:09:43 2013 -0800 Committer: James Peach <jpe...@apache.org> Committed: Fri Dec 6 16:09:43 2013 -0800 ---------------------------------------------------------------------- iocore/net/SSLUtils.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a10b8090/iocore/net/SSLUtils.cc ---------------------------------------------------------------------- diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc index f7b5f4b..686194b 100644 --- a/iocore/net/SSLUtils.cc +++ b/iocore/net/SSLUtils.cc @@ -70,6 +70,9 @@ typedef SSL_METHOD * ink_ssl_method_t; #endif #if TS_USE_TLS_TICKETS +static int ssl_callback_session_ticket(SSL *, unsigned char *, unsigned char *, EVP_CIPHER_CTX *, HMAC_CTX *, int); +#endif /* TS_USE_TLS_TICKETS */ + struct ssl_ticket_key_t { unsigned char key_name[16]; @@ -77,10 +80,7 @@ struct ssl_ticket_key_t unsigned char aes_key[16]; }; -static int ssl_callback_session_ticket(SSL *, unsigned char *, unsigned char *, EVP_CIPHER_CTX *, HMAC_CTX *, int); static int ssl_session_ticket_index = 0; -#endif /* TS_USE_TLS_TICKETS */ - static ProxyMutex ** sslMutexArray; static bool open_ssl_initialized = false;