gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: update GANA


From: gnunet
Subject: [gnunet] branch master updated: update GANA
Date: Fri, 04 Nov 2022 11:18:49 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 145a04e3a update GANA
145a04e3a is described below

commit 145a04e3ac6763644a94b01e16b87964a0716ac7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Nov 4 11:18:46 2022 +0100

    update GANA
---
 contrib/gana                |  2 +-
 src/identity/identity_api.c | 14 ++++++++------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 9cdf68e03..6b9824cb4 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 9cdf68e03b5f947add17fe2c77768830b8c24f66
+Subproject commit 6b9824cb4d4561f1167c7f518998a226a82222d6
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index 3fd052277..ef2aacb78 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -26,6 +26,7 @@
 #include "platform.h"
 #include "gnunet_util_lib.h"
 #include "gnunet_constants.h"
+#include "gnunet_error_codes.h"
 #include "gnunet_protocols.h"
 #include "gnunet_identity_service.h"
 #include "identity.h"
@@ -197,6 +198,7 @@ GNUNET_IDENTITY_key_get_public (const struct
   return GNUNET_OK;
 }
 
+
 static enum GNUNET_GenericReturnValue
 private_key_create (enum GNUNET_IDENTITY_KeyType ktype,
                     struct GNUNET_IDENTITY_PrivateKey *key)
@@ -616,7 +618,8 @@ GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *h,
   else
     private_key = *privkey;
   key_len = GNUNET_IDENTITY_private_key_get_length (&private_key);
-  env = GNUNET_MQ_msg_extra (crm, slen + key_len, 
GNUNET_MESSAGE_TYPE_IDENTITY_CREATE);
+  env = GNUNET_MQ_msg_extra (crm, slen + key_len,
+                             GNUNET_MESSAGE_TYPE_IDENTITY_CREATE);
   crm->name_len = htons (slen);
   crm->reserved = htons (0);
   GNUNET_IDENTITY_write_private_key_to_buffer (&private_key,
@@ -840,6 +843,7 @@ GNUNET_IDENTITY_public_key_get_length (const struct
   return -1;
 }
 
+
 ssize_t
 GNUNET_IDENTITY_private_key_length_by_type (enum GNUNET_IDENTITY_KeyType kt)
 {
@@ -858,7 +862,6 @@ GNUNET_IDENTITY_private_key_length_by_type (enum 
GNUNET_IDENTITY_KeyType kt)
 }
 
 
-
 enum GNUNET_GenericReturnValue
 GNUNET_IDENTITY_read_public_key_from_buffer (const void *buffer,
                                              size_t len,
@@ -901,6 +904,7 @@ GNUNET_IDENTITY_write_public_key_to_buffer (const struct
   return length;
 }
 
+
 enum GNUNET_GenericReturnValue
 GNUNET_IDENTITY_read_private_key_from_buffer (const void *buffer,
                                               size_t len,
@@ -981,7 +985,6 @@ GNUNET_IDENTITY_signature_get_raw_length_by_type (uint32_t 
type)
 }
 
 
-
 ssize_t
 GNUNET_IDENTITY_read_signature_from_buffer (struct
                                             GNUNET_IDENTITY_Signature *sig,
@@ -1019,6 +1022,7 @@ GNUNET_IDENTITY_write_signature_to_buffer (const struct
   return length;
 }
 
+
 enum GNUNET_GenericReturnValue
 GNUNET_IDENTITY_sign_raw_ (const struct
                            GNUNET_IDENTITY_PrivateKey *priv,
@@ -1046,7 +1050,6 @@ GNUNET_IDENTITY_sign_raw_ (const struct
 }
 
 
-
 enum GNUNET_GenericReturnValue
 GNUNET_IDENTITY_sign_ (const struct
                        GNUNET_IDENTITY_PrivateKey *priv,
@@ -1133,8 +1136,6 @@ GNUNET_IDENTITY_signature_verify_raw_ (uint32_t purpose,
 }
 
 
-
-
 ssize_t
 GNUNET_IDENTITY_encrypt (const void *block,
                          size_t size,
@@ -1228,6 +1229,7 @@ GNUNET_IDENTITY_private_key_to_string (const struct
                                               size);
 }
 
+
 enum GNUNET_GenericReturnValue
 GNUNET_IDENTITY_public_key_from_string (const char *str,
                                         struct GNUNET_IDENTITY_PublicKey *key)

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