gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r28415 - gnunet-gtk/src/setup


From: gnunet
Subject: [GNUnet-SVN] r28415 - gnunet-gtk/src/setup
Date: Tue, 6 Aug 2013 16:18:50 +0200

Author: grothoff
Date: 2013-08-06 16:18:50 +0200 (Tue, 06 Aug 2013)
New Revision: 28415

Modified:
   gnunet-gtk/src/setup/gnunet-setup-gns.c
Log:
updating to current API of main GNUnet code

Modified: gnunet-gtk/src/setup/gnunet-setup-gns.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-gns.c     2013-08-06 14:18:31 UTC (rev 
28414)
+++ gnunet-gtk/src/setup/gnunet-setup-gns.c     2013-08-06 14:18:50 UTC (rev 
28415)
@@ -350,7 +350,7 @@
 /**
  * Public key of the zone we are currently editing.
  */ 
-static struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pubkey;
+static struct GNUNET_CRYPTO_EccPublicKey pubkey;
 
 /**
  * Short hash of the public key of the zone we are currently editing.
@@ -781,7 +781,7 @@
  */
 static void
 merge_with_existing_records (void *cls,
-                            const struct 
GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *zone_key,
+                            const struct GNUNET_CRYPTO_EccPublicKey *zone_key,
                             struct GNUNET_TIME_Absolute freshness,             
            
                             const char *name,
                             unsigned int rd_count,
@@ -946,7 +946,7 @@
       struct GNUNET_CRYPTO_EccPrivateKey *pk;
       struct MoveOperationContext *moc;
       struct GNUNET_CRYPTO_ShortHashCode target_zone_hash;
-      struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pubkey;
+      struct GNUNET_CRYPTO_EccPublicKey pubkey;
       
       /* determine target zone */
       if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg,
@@ -973,7 +973,7 @@
       }
       GNUNET_CRYPTO_ecc_key_get_public (pk, &pubkey);
       GNUNET_CRYPTO_short_hash (&pubkey,
-                               sizeof (struct 
GNUNET_CRYPTO_EccPublicKeyBinaryEncoded),
+                               sizeof (struct GNUNET_CRYPTO_EccPublicKey),
                                &target_zone_hash);
       moc = GNUNET_new (struct MoveOperationContext);
       moc->data = data;
@@ -1713,7 +1713,7 @@
  */
 static void
 zone_iteration_proc (void *cls,
-                    const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded 
*zone_key,
+                    const struct GNUNET_CRYPTO_EccPublicKey *zone_key,
                     struct GNUNET_TIME_Absolute expire,
                     const char *name,
                     unsigned int rd_count,
@@ -1959,7 +1959,7 @@
   pkey = pk;
   GNUNET_CRYPTO_ecc_key_get_public (pkey, &pubkey);
   GNUNET_CRYPTO_short_hash (&pubkey,
-                            sizeof (struct 
GNUNET_CRYPTO_EccPublicKeyBinaryEncoded),
+                            sizeof (struct GNUNET_CRYPTO_EccPublicKey),
                             &zone);
   GNUNET_CRYPTO_short_hash_to_enc(&zone, &shenc);
 




reply via email to

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