From b79dfafefbccecae36d4bab44f10a7eea8bad07b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 23 Oct 2022 16:00:53 -0400 Subject: [PATCH] spelling: algorithm Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/analyzer/protocol/login/NVT.cc | 2 +- src/probabilistic/CardinalityCounter.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/analyzer/protocol/login/NVT.cc b/src/analyzer/protocol/login/NVT.cc index 80f35eabe0..c47e5dd615 100644 --- a/src/analyzer/protocol/login/NVT.cc +++ b/src/analyzer/protocol/login/NVT.cc @@ -139,7 +139,7 @@ void TelnetTerminalOption::RecvSubOption(u_char* data, int len) } #define ENCRYPT_SET_ALGORITHM 0 -#define ENCRYPT_SUPPORT_ALGORITM 1 +#define ENCRYPT_SUPPORT_ALGORITHM 1 #define ENCRYPT_REPLY 2 #define ENCRYPT_STARTING_TO_ENCRYPT 3 #define ENCRYPT_NO_LONGER_ENCRYPTING 4 diff --git a/src/probabilistic/CardinalityCounter.cc b/src/probabilistic/CardinalityCounter.cc index 8a58c4b25e..c30c2be171 100644 --- a/src/probabilistic/CardinalityCounter.cc +++ b/src/probabilistic/CardinalityCounter.cc @@ -36,7 +36,7 @@ void CardinalityCounter::Init(uint64_t size) m = size; // The following magic values are taken directly out of the - // description of the HyperLogLog algorithn. + // description of the HyperLogLog algorithm. if ( m == 16 ) alpha_m = 0.673;