mirror of
https://github.com/logos-storage/nim-bearssl.git
synced 2026-01-02 13:33:06 +00:00
* rsaKeygenGetDefault test * add ubuntu 24 and gcc 14 to ci * use PrngClassPointerConst for rsa keygen * fix test_brssl * add comment about ubuntu 24 * define and use ConstPtrPtrHashClass * remove previous ecKeygen * remove previous x509NoanchorInit * improve test * add ecKeygen test * add x509NoanchorInit test * remove commented code * rename target to linux-gcc-14 * test already exists * fix tests
13 lines
258 B
Nim
13 lines
258 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, X509ClassPointerConst(addr x509.vtable))
|