From 02e73a155f280d2d4463df0dbeea9c1e5cca8d9d Mon Sep 17 00:00:00 2001 From: seladb Date: Sat, 31 Aug 2024 21:06:39 -0700 Subject: [PATCH] Auto precommit update (#1560) * Auto pre-commit update * fix typo --------- Co-authored-by: GitHub Co-authored-by: tigercosmos --- .pre-commit-config.yaml | 4 ++-- Packet++/header/SSLHandshake.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 576459527b..99d1460d15 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: args: ['--fix=lf'] - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/pocc/pre-commit-hooks @@ -39,7 +39,7 @@ repos: - id: codespell pass_filenames: false - repo: https://github.com/crate-ci/typos - rev: v1.23.6 + rev: typos-dict-v0.11.27 hooks: - id: typos args: ['--config=typos-config.toml'] diff --git a/Packet++/header/SSLHandshake.h b/Packet++/header/SSLHandshake.h index 7fa085d085..5f5f97e8bc 100644 --- a/Packet++/header/SSLHandshake.h +++ b/Packet++/header/SSLHandshake.h @@ -280,7 +280,7 @@ namespace pcpp * @param[in] dataLen The length in bytes of the raw data * @param[in] allDataExists Certificate messages usually spread on more than 1 packet. So a certificate is * likely to split between 2 packets or more. This field indicates whether the raw data contains all - * ceritificate data of just a part of it + * certificate data of just a part of it */ SSLx509Certificate(uint8_t* data, size_t dataLen, bool allDataExists) : m_Data(data), m_DataLen(dataLen), m_AllDataExists(allDataExists)