You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by su...@apache.org on 2019/06/21 22:50:40 UTC
[trafficserver] 03/03: Fix build error for pre openssl-1.1.1
This is an automated email from the ASF dual-hosted git repository.
sudheerv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 42b7694c418cd965252e8def0352deb010dc4ec2
Author: Sudheer Vinukonda <su...@apache.org>
AuthorDate: Thu Jun 20 14:51:54 2019 -0700
Fix build error for pre openssl-1.1.1
---
iocore/net/SSLNetVConnection.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 7a460ca..b4ef157 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -1829,9 +1829,11 @@ SSLNetVConnection::increment_ssl_version_metric(int version) const
case TLS1_2_VERSION:
SSL_INCREMENT_DYN_STAT(ssl_total_tlsv12);
break;
+#ifdef TLS1_3_VERSION
case TLS1_3_VERSION:
SSL_INCREMENT_DYN_STAT(ssl_total_tlsv13);
break;
+#endif
default:
Debug("ssl", "Unrecognized SSL version %d", version);
break;