gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 159/164: removed exponation from plausability check FIX


From: gnunet
Subject: [gnunet] 159/164: removed exponation from plausability check FIX
Date: Fri, 30 Jul 2021 15:33:45 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit a959f31c7b49f592940e5f6deeeef7c61ec4b266
Author: Elias Summermatter <elias.summermatter@seccom.ch>
AuthorDate: Mon Jun 14 19:24:12 2021 +0200

    removed exponation from plausability check FIX
---
 src/setu/gnunet-service-setu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index d3bd5ad77..ee0b0b620 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -1685,7 +1685,7 @@ full_sync_plausibility_check (struct Operation *op)
                                                                            
double)
                                                                         op->
                                                                         
remote_set_diff)));
-    long double value = exponent * (log2l(base)/log2l(exponent));
+    long double value = exponent * (log2l(base)/log2l(2));
     if ((value < security_level_lb) || (value > SECURITY_LEVEL) )
     {
       LOG (GNUNET_ERROR_TYPE_ERROR,

-- 
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]