Skip to content

Commit

Permalink
src: fix typos in crypto comments
Browse files Browse the repository at this point in the history
PR-URL: #38024
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
  • Loading branch information
tniessen authored and MylesBorins committed Apr 4, 2021
1 parent 5e54aa7 commit e0948a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/crypto/crypto_keygen.h
Expand Up @@ -71,7 +71,7 @@ class KeyGenJob final : public CryptoJob<KeyGenTraits> {
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<KeyGenTraits>::params();
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto_pbkdf2.cc
Expand Up @@ -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());
Expand Down

0 comments on commit e0948a8

Please sign in to comment.