Skip to content

Commit

Permalink
fix:add fips clause for SupportEd25519
Browse files Browse the repository at this point in the history
  • Loading branch information
mertakman committed Oct 8, 2024
1 parent e322ff3 commit 7d961d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ed25519.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func SupportsEd25519() bool {
onceSupportsEd25519.Do(func() {
switch vMajor {
case 1:
supportsEd25519 = versionAtOrAbove(1, 1, 1) || !FIPS()
supportsEd25519 = versionAtOrAbove(1, 1, 1) || FIPS()
case 3:
name := C.CString("ED25519")
defer C.free(unsafe.Pointer(name))
Expand Down

0 comments on commit 7d961d2

Please sign in to comment.