Skip to content

Commit

Permalink
Fix new RSA key check
Browse files Browse the repository at this point in the history
  • Loading branch information
DJAndries committed Oct 25, 2024
1 parent da9920d commit 2f7eded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/web_discovery/browser/credential_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void CredentialManager::OnNewRSAKey(std::unique_ptr<RSAKeyInfo> key_info) {
}

rsa_public_key_b64_ = key_info->public_key_b64;
CHECK(key_info->key_pair && key_info->private_key_b64);
CHECK(key_info->private_key_b64);

profile_prefs_->SetString(kCredentialRSAPrivateKey,
*key_info->private_key_b64);
Expand Down

0 comments on commit 2f7eded

Please sign in to comment.