Skip to content

Commit

Permalink
ECDSA: OpenSSL skip MacOS test - followup #490 and #508
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Jan 6, 2025
1 parent 60f55a6 commit 2f1498d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ecdsa/t_ecdsa_verify_openssl.nim
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import
constantine/platforms/abstractions,
constantine/ecdsa_secp256k1

when not defined(windows):
when not defined(windows) or not defined(macosx):
# Windows (at least in GH actions CI) does not provide, among others `BN_new`
# so we disable this test for Windows for the time being.
import ../openssl_wrapper
Expand Down Expand Up @@ -65,7 +65,7 @@ func getPublicKey(secKey: SecretKey): PublicKey {.noinit.} =

template toOA(x: string): untyped = toOpenArrayByte(x, 0, x.len-1)

when not defined(windows): # see above
when not defined(windows) or not defined(macosx): # see above
proc signAndVerify(num: int, msg = "", nonceSampler = nsRandom) =
## Generates `num` signatures and verify them against OpenSSL.
##
Expand Down

0 comments on commit 2f1498d

Please sign in to comment.