Skip to content

Fix JavaScript equality in csprng_entropy.c - #304

Closed
matbech wants to merge 1 commit into
utelle:mainfrom
matbech:patch-1
Closed

matbech wants to merge 1 commit into
utelle:mainfrom
matbech:patch-1

Conversation

@matbech

@matbech matbech commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Description

The EM_JS body in csprng_entropy.c contains "== =", which is emitted unchanged into sqlite3.mjs and fails JavaScript parsing. Restore strict equality so the helper selects the full buffer or its final partial chunk.

The EM_JS body in csprng_entropy.c contains "== =", which is emitted
unchanged into sqlite3.mjs and fails JavaScript parsing. Restore strict
equality so the helper selects the full buffer or its final partial chunk.
@utelle

utelle commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Sorry, I hadn't seen this PR, before I applied the very same fix myself. Closing...

@utelle utelle closed this Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants