gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: init PRNG in test case


From: gnunet
Subject: [taler-wallet-core] branch master updated: init PRNG in test case
Date: Tue, 25 Jan 2022 17:36:52 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 0ccd5b95 init PRNG in test case
0ccd5b95 is described below

commit 0ccd5b955b22f4c595c32a6b80d1726938b949ae
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jan 25 17:36:48 2022 +0100

    init PRNG in test case
---
 packages/taler-util/src/talerCrypto.test.ts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/packages/taler-util/src/talerCrypto.test.ts 
b/packages/taler-util/src/talerCrypto.test.ts
index 1e3ceef6..e9dfed4d 100644
--- a/packages/taler-util/src/talerCrypto.test.ts
+++ b/packages/taler-util/src/talerCrypto.test.ts
@@ -30,6 +30,11 @@ import {
 } from "./talerCrypto.js";
 import { sha512, kdf } from "./kdf.js";
 import * as nacl from "./nacl-fast.js";
+import { initNodePrng } from "./prng-node.js";
+
+// Since we import nacl-fast directly (and not via index.node.ts), we need to
+// init the PRNG manually.
+initNodePrng();
 
 test("encoding", (t) => {
   const s = "Hello, World";

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]