Skip to content

Commit

Permalink
Update chap.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefMarlin authored Oct 8, 2024
1 parent 08c1fe4 commit cd643f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chap.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ func getKeyFromEnv(envVar string) []byte {
if len(key) < expectedKeyLength {
key = extendKeyWithFibonacci(key, expectedKeyLength)
}
if len(key) != expectedKeyLength {
log.Fatalf("Invalid key length: expected %d bytes, got %d", expectedKeyLength, len(key))
}
return key
}

Expand Down

0 comments on commit cd643f0

Please sign in to comment.