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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3483fff  Remove unused assignment to satisfy clang-analyzer
3483fff is described below

commit 3483fff32b59ace3037c7a5e37532f0098d686b2
Author: Susan Hinrichs <[email protected]>
AuthorDate: Fri Aug 9 14:49:53 2019 +0000

    Remove unused assignment to satisfy clang-analyzer
---
 plugins/experimental/ssl_session_reuse/src/session_process.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/experimental/ssl_session_reuse/src/session_process.cc 
b/plugins/experimental/ssl_session_reuse/src/session_process.cc
index 440cd66..09bae7f 100644
--- a/plugins/experimental/ssl_session_reuse/src/session_process.cc
+++ b/plugins/experimental/ssl_session_reuse/src/session_process.cc
@@ -85,7 +85,6 @@ encrypt_session(const char *session_data, int32_t 
session_data_len, const unsign
 
   int elen;
   encrypted_buffer_size = ENCRYPT_LEN(len_all);
-  encrypted_msg_len     = encrypted_buffer_size;
   encrypted_msg         = new unsigned char[encrypted_buffer_size];
   if (1 != EVP_EncryptUpdate(context, (unsigned char *)encrypted_msg, &elen, 
(unsigned char *)pBuf, len_all)) {
     TSDebug(PLUGIN, "Encryption of session data failed");

Reply via email to