[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] 02/02: - uncrustify
From: |
gnunet |
Subject: |
[gnunet] 02/02: - uncrustify |
Date: |
Mon, 28 Aug 2023 22:18:18 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
commit 9cdd03679d9d2f1c7a514ad7edd15b463535ea05
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Aug 28 22:18:12 2023 +0200
- uncrustify
---
src/revocation/revocation_api.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index cffab5acd..819c34b71 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -401,6 +401,7 @@ calculate_score (const struct
GNUNET_REVOCATION_PowCalculationHandle *ph)
return avg;
}
+
struct GNUNET_REVOCATION_SignaturePurposePS *
REV_create_signature_message (const struct GNUNET_REVOCATION_PowP *pow)
{
@@ -420,6 +421,7 @@ REV_create_signature_message (const struct
GNUNET_REVOCATION_PowP *pow)
return spurp;
}
+
enum GNUNET_GenericReturnValue
check_signature_identity (const struct GNUNET_REVOCATION_PowP *pow,
const struct GNUNET_IDENTITY_PublicKey *key)
@@ -433,10 +435,11 @@ check_signature_identity (const struct
GNUNET_REVOCATION_PowP *pow,
spurp = REV_create_signature_message (pow);
sig = ((unsigned char*) &pow[1] + ksize);
ret =
- GNUNET_IDENTITY_signature_verify_raw_
(GNUNET_SIGNATURE_PURPOSE_GNS_REVOCATION,
- &spurp->purpose,
- sig,
- key);
+ GNUNET_IDENTITY_signature_verify_raw_ (
+ GNUNET_SIGNATURE_PURPOSE_GNS_REVOCATION,
+ &spurp->purpose,
+ sig,
+ key);
GNUNET_free (spurp);
return ret == GNUNET_OK ? GNUNET_OK : GNUNET_SYSERR;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.