Files
vectorcraft/crates/pdf
dotCooCoo 9730c888fb Tests: seed the PDF file key test through protect
The test called Entropy::seeded directly, so it still passed if export
stopped reading the OS random source. Entropy::new now reads the OS
bytes and the time through seed_sources(), which a test can set for
its thread, and the test runs protect with fixed OS bytes, other OS
bytes and a failed OS read. The OS read in vectorcraft-js's os_random()
is now one function for tests and builds alike.
2026-12-01 02:17:47 -08:00
..