From 3a2216f456db1fa1cb90f43e5b1ce76bf8a12d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Thu, 1 Apr 2021 16:19:33 +0200 Subject: [PATCH] src: fix typos in crypto comments --- src/crypto/crypto_keygen.h | 2 +- src/crypto/crypto_pbkdf2.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/crypto_keygen.h b/src/crypto/crypto_keygen.h index e96d850cee1b5a..21fb29542f75bd 100644 --- a/src/crypto/crypto_keygen.h +++ b/src/crypto/crypto_keygen.h @@ -71,7 +71,7 @@ class KeyGenJob final : public CryptoJob { std::move(params)) {} void DoThreadPoolWork() override { - // Make sure the the CSPRNG is properly seeded so the results are secure + // Make sure the CSPRNG is properly seeded so the results are secure. CheckEntropy(); AdditionalParams* params = CryptoJob::params(); diff --git a/src/crypto/crypto_pbkdf2.cc b/src/crypto/crypto_pbkdf2.cc index 8cf36cdf8dc036..cc9a0d072ad13c 100644 --- a/src/crypto/crypto_pbkdf2.cc +++ b/src/crypto/crypto_pbkdf2.cc @@ -33,7 +33,7 @@ PBKDF2Config& PBKDF2Config::operator=(PBKDF2Config&& other) noexcept { } void PBKDF2Config::MemoryInfo(MemoryTracker* tracker) const { - // The the job is sync, the PBKDF2Config does not own the data + // The job is sync, the PBKDF2Config does not own the data. if (mode == kCryptoJobAsync) { tracker->TrackFieldWithSize("pass", pass.size()); tracker->TrackFieldWithSize("salt", salt.size());