Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Jul 18, 2024
1 parent 72d3ac5 commit e58d582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_brssl.nim
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ suite "x509":
var x509: X509MinimalContext

x509MinimalInit(x509, nil, nil, 0)
x509NoanchorInit(xwc, addr x509.vtable)
x509NoanchorInit(xwc, X509ClassPointerConst(addr x509.vtable))
2 changes: 1 addition & 1 deletion tests/test_ec.nim
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ suite "ec":
var ecimp = ecGetDefault()
var res = new EcPrivateKey
check ecKeygen(
addr rng.vtable, ecimp, addr res.key, addr res.buffer[0], cint(EC_secp256r1)
PrngClassPointerConst(addr rng.vtable), ecimp, addr res.key, addr res.buffer[0], cint(EC_secp256r1)
) != 0

0 comments on commit e58d582

Please sign in to comment.