Skip to content

Commit

Permalink
Fixup timingSafeEqual export for node crypto (#2216)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell authored Jun 4, 2024
1 parent 5160a6e commit 7e0aa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

export const getRandomValues = crypto.getRandomValues;
export const subtle = crypto.subtle;
export const timingSafeEqual = (crypto as any).timingSafeEqual;
export const timingSafeEqual = (subtle as any).timingSafeEqual;
export const webcrypto = crypto;

import {
Expand Down

0 comments on commit 7e0aa0a

Please sign in to comment.