Skip to content

Commit 2f1498d

Browse files
committed
ECDSA: OpenSSL skip MacOS test - followup #490 and #508
1 parent 60f55a6 commit 2f1498d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ecdsa/t_ecdsa_verify_openssl.nim

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import
1919
constantine/platforms/abstractions,
2020
constantine/ecdsa_secp256k1
2121

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

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

68-
when not defined(windows): # see above
68+
when not defined(windows) or not defined(macosx): # see above
6969
proc signAndVerify(num: int, msg = "", nonceSampler = nsRandom) =
7070
## Generates `num` signatures and verify them against OpenSSL.
7171
##

0 commit comments

Comments
 (0)