This is an automated email from the ASF dual-hosted git repository. bneradt 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 e454602bbb stek_share: fix memcp usage (#10798) e454602bbb is described below commit e454602bbb4d824a351d401ad29c3b166cf29970 Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Thu Nov 16 13:53:56 2023 -0600 stek_share: fix memcp usage (#10798) A closing parenthesis was out of place in a memcmp in the stek_share plugin. This fixes the closing of the memcmp. --- plugins/experimental/stek_share/state_machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/experimental/stek_share/state_machine.h b/plugins/experimental/stek_share/state_machine.h index e6ecf58beb..da29a5bf70 100644 --- a/plugins/experimental/stek_share/state_machine.h +++ b/plugins/experimental/stek_share/state_machine.h @@ -80,7 +80,7 @@ public: received_stek_ = false; - if (std::memcmp(curr_stek, &stek_, SSL_TICKET_KEY_SIZE != 0)) { + if (std::memcmp(curr_stek, &stek_, SSL_TICKET_KEY_SIZE) != 0) { std::memcpy(curr_stek, &stek_, SSL_TICKET_KEY_SIZE); return true; }