Prem Chaitanya Prathi 2f24448abd
fix(tests): use HmacDrbgContext.new() instead of crypto.newRng()
libp2p v2.0.0's `crypto.newRng()` returns the new `Rng` wrapper type,
which can't be assigned to a `ref HmacDrbgContext` field. The two test
helper modules (tests/testlib/common.nim and tests/test_helpers.nim)
both fall in this pattern; rest of the codebase migrated in the prior
sweep but these two test-only files were missed because they don't
compile during the wakunode2 / chat2mix builds — only when the test
target is built (which CI does, locally we didn't until this PR).

Same fix pattern as the other newRng → HmacDrbgContext.new() migrations.
2026-06-04 17:32:25 +05:30
..
2026-05-16 00:09:07 +02:00
2026-05-27 23:58:30 +05:30
2026-05-27 23:58:30 +05:30
2026-05-16 00:09:07 +02:00
2026-05-16 00:09:07 +02:00
2026-03-17 14:15:35 +01:00