nim-bearssl/tests/test_brssl.nim
Jacek Sieka 917b7274f9
work around C++ linking issue (#50)
* test c++ support, work around linking issue

* fix imports, don't test C++ after all
2023-08-16 12:47:15 +02:00

13 lines
235 B
Nim

import unittest2,
../bearssl/[x509, brssl]
{.used.}
suite "x509":
test "init":
var xwc: X509NoanchorContext
var x509: X509MinimalContext
x509MinimalInit(x509, nil, nil, 0)
x509NoanchorInit(xwc, addr x509.vtable)