Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup!: cpp lint fix
  • Loading branch information
himself65 committed Jul 19, 2021
commit b9eb514b1b6f0aadcb24bb76be256d377be40108
3 changes: 1 addition & 2 deletions src/crypto/crypto_keys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ void GetKeyFormatAndTypeFromJs(
} else {
CHECK(
(context == kKeyContextInput && config->format_ == kKeyFormatPEM) ||
(context == kKeyContextGenerate && config->format_ == kKeyFormatJWK)
);
(context == kKeyContextGenerate && config->format_ == kKeyFormatJWK));
CHECK(args[*offset + 1]->IsNullOrUndefined());
config->type_ = Nothing<PKEncodingType>();
}
Expand Down