Skip to content

Commit e61cc0b

Browse files
tniessenMylesBorins
authored andcommitted
src: fix typos in crypto comments
PR-URL: #38024 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
1 parent ac69b95 commit e61cc0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/crypto/crypto_keygen.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class KeyGenJob final : public CryptoJob<KeyGenTraits> {
7171
std::move(params)) {}
7272

7373
void DoThreadPoolWork() override {
74-
// Make sure the the CSPRNG is properly seeded so the results are secure
74+
// Make sure the CSPRNG is properly seeded so the results are secure.
7575
CheckEntropy();
7676

7777
AdditionalParams* params = CryptoJob<KeyGenTraits>::params();

src/crypto/crypto_pbkdf2.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ PBKDF2Config& PBKDF2Config::operator=(PBKDF2Config&& other) noexcept {
3333
}
3434

3535
void PBKDF2Config::MemoryInfo(MemoryTracker* tracker) const {
36-
// The the job is sync, the PBKDF2Config does not own the data
36+
// The job is sync, the PBKDF2Config does not own the data.
3737
if (mode == kCryptoJobAsync) {
3838
tracker->TrackFieldWithSize("pass", pass.size());
3939
tracker->TrackFieldWithSize("salt", salt.size());

0 commit comments

Comments
 (0)