From: Chris Duncan Date: Sat, 29 Aug 2026 09:17:20 +0000 (-0700) Subject: Move mutex lock out of try block so it does not clear buffers from underneath the... X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=b125c4f759b2dcd60eeb785732e911c0a75c50ef;p=nano25519.git Move mutex lock out of try block so it does not clear buffers from underneath the currently executing function. --- diff --git a/src/lib/derive.ts b/src/lib/derive.ts index 338f7cc..ae9f834 100644 --- a/src/lib/derive.ts +++ b/src/lib/derive.ts @@ -12,8 +12,8 @@ export function derive (prv: unknown, out?: unknown): string | Uint8Array