This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch quic-latest
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/quic-latest by this push:
     new 7acc788  Fixed build issue with Fedora 26, may be used uninitialized 
in this function
7acc788 is described below

commit 7acc7881ed4a001b89ea3eed8181e22ace4a7fd8
Author: Bryan Call <bc...@apache.org>
AuthorDate: Wed Nov 22 10:48:19 2017 -0800

    Fixed build issue with Fedora 26, may be used uninitialized in this function
---
 iocore/net/quic/QUICCrypto.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/iocore/net/quic/QUICCrypto.cc b/iocore/net/quic/QUICCrypto.cc
index 02231eb..3e45928 100644
--- a/iocore/net/quic/QUICCrypto.cc
+++ b/iocore/net/quic/QUICCrypto.cc
@@ -190,6 +190,10 @@ QUICCryptoTls::update_key_materials()
   case QUICKeyPhase::CLEARTEXT:
     next_key_phase = QUICKeyPhase::PHASE_0;
     break;
+  default:
+    Error("QUICKeyPhase value is undefined");
+    ink_assert(false);
+    next_key_phase = QUICKeyPhase::PHASE_0;
   }
 
   // Generate keys

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Reply via email to