Skip to content

Commit

Permalink
actually return value
Browse files Browse the repository at this point in the history
  • Loading branch information
jm96441n committed Jun 28, 2023
1 parent c7c2c07 commit c9599af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/structs/config_entry_inline_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func validateKeyLength(privateKeyBlock *pem.Block) error {
keyBitLen := key.N.BitLen()

if version.IsFIPS() {
fipsLenCheck(keyBitLen)
return fipsLenCheck(keyBitLen)
}

return nonFipsLenCheck(keyBitLen)
Expand Down

0 comments on commit c9599af

Please sign in to comment.