[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: comment
From: |
gnunet |
Subject: |
[libeufin] branch master updated: comment |
Date: |
Thu, 25 May 2023 12:00:26 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new d8ffade7 comment
d8ffade7 is described below
commit d8ffade7e6ff01b1e46284adc52be0a91e405927
Author: MS <ms@taler.net>
AuthorDate: Thu May 25 12:00:23 2023 +0200
comment
---
nexus/src/test/kotlin/SubjectNormalization.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/nexus/src/test/kotlin/SubjectNormalization.kt
b/nexus/src/test/kotlin/SubjectNormalization.kt
index d793662e..d6eee674 100644
--- a/nexus/src/test/kotlin/SubjectNormalization.kt
+++ b/nexus/src/test/kotlin/SubjectNormalization.kt
@@ -27,6 +27,7 @@ class SubjectNormalization {
// At this point, the decoder handles 0s and Os interchangeably.
// Now check that the reserve pub. extractor behaves equally.
val extractedPub = extractReservePubFromSubject(validPub) // has 0s.
+ // The "!!" ensures that the extractor found a likely reserve pub.
assert(CryptoUtil.checkValidEddsaPublicKey(extractedPub!!))
val extractedPubWithOs =
extractReservePubFromSubject(validPub.replace('0', 'O'))
// The "!!" ensures that the extractor did find the reserve pub. with
Os instead of zeros.
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.