gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r36059 - in gnunet: contrib/experiments/nse contrib/testbed


From: gnunet
Subject: [GNUnet-SVN] r36059 - in gnunet: contrib/experiments/nse contrib/testbed_configs doc/man src/arm src/include src/rps src/testbed src/util
Date: Wed, 8 Jul 2015 22:48:25 +0200

Author: grothoff
Date: 2015-07-08 22:48:24 +0200 (Wed, 08 Jul 2015)
New Revision: 36059

Modified:
   gnunet/contrib/experiments/nse/infiniband.conf
   gnunet/contrib/testbed_configs/regex_profiler_infiniband.conf
   gnunet/contrib/testbed_configs/testbed_cluster.conf
   gnunet/contrib/testbed_configs/testbed_infiniband.conf
   gnunet/contrib/testbed_configs/testbed_supermuc.conf
   gnunet/doc/man/gnunet.conf.5
   gnunet/src/arm/arm.conf.in
   gnunet/src/include/gnunet_crypto_lib.h
   gnunet/src/rps/Makefile.am
   gnunet/src/testbed/test_testbed_underlay.conf.in
   gnunet/src/util/crypto_rsa.c
   gnunet/src/util/os_network.c
Log:
DEFAULTSERVICES is dead, remove remains

Modified: gnunet/contrib/experiments/nse/infiniband.conf
===================================================================
--- gnunet/contrib/experiments/nse/infiniband.conf      2015-07-08 13:03:28 UTC 
(rev 36058)
+++ gnunet/contrib/experiments/nse/infiniband.conf      2015-07-08 20:48:24 UTC 
(rev 36059)
@@ -26,7 +26,6 @@
 PROOFFILE = $SERVICEHOME/nse.proof
 
 [arm]
-DEFAULTSERVICES = core nse
 UNIXPATH = /tmp/test-nse-service-arm.unix
 
 [statistics]

Modified: gnunet/contrib/testbed_configs/regex_profiler_infiniband.conf
===================================================================
--- gnunet/contrib/testbed_configs/regex_profiler_infiniband.conf       
2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/contrib/testbed_configs/regex_profiler_infiniband.conf       
2015-07-08 20:48:24 UTC (rev 36059)
@@ -40,9 +40,6 @@
 # Keep datacache in-memory? (reduces IO)
 IN_MEMORY = YES
 
-[arm]
-DEFAULTSERVICES = core cadet dht statistics regexprofiler
-
 [fs]
 AUTOSTART = NO
 

Modified: gnunet/contrib/testbed_configs/testbed_cluster.conf
===================================================================
--- gnunet/contrib/testbed_configs/testbed_cluster.conf 2015-07-08 13:03:28 UTC 
(rev 36058)
+++ gnunet/contrib/testbed_configs/testbed_cluster.conf 2015-07-08 20:48:24 UTC 
(rev 36059)
@@ -46,7 +46,6 @@
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
-DEFAULTSERVICES = core transport
 #PORT = 12366
 DEBUG = NO
 

Modified: gnunet/contrib/testbed_configs/testbed_infiniband.conf
===================================================================
--- gnunet/contrib/testbed_configs/testbed_infiniband.conf      2015-07-08 
13:03:28 UTC (rev 36058)
+++ gnunet/contrib/testbed_configs/testbed_infiniband.conf      2015-07-08 
20:48:24 UTC (rev 36059)
@@ -46,7 +46,6 @@
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
-DEFAULTSERVICES = core
 #PORT = 12366
 DEBUG = NO
 

Modified: gnunet/contrib/testbed_configs/testbed_supermuc.conf
===================================================================
--- gnunet/contrib/testbed_configs/testbed_supermuc.conf        2015-07-08 
13:03:28 UTC (rev 36058)
+++ gnunet/contrib/testbed_configs/testbed_supermuc.conf        2015-07-08 
20:48:24 UTC (rev 36059)
@@ -49,7 +49,6 @@
 USE_EPHEMERAL_KEYS = NO
 
 [arm]
-DEFAULTSERVICES = transport core ats
 #PORT = 12366
 DEBUG = NO
 #PREFIX = strace -r -T -o /${WORK}/trace/${PEERID}.strace

Modified: gnunet/doc/man/gnunet.conf.5
===================================================================
--- gnunet/doc/man/gnunet.conf.5        2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/doc/man/gnunet.conf.5        2015-07-08 20:48:24 UTC (rev 36059)
@@ -75,9 +75,6 @@
     OPTIONS = \-b
     SERVERS = http://v9.gnunet.org:58080/
 
-    [arm]
-    DEFAULTSERVICES = topology hostlist fs
-
     [nat]
     BEHIND_NAT = YES
     ENABLE_UPNP = YES
@@ -84,6 +81,10 @@
     DISABLEV6 = YES
     EXTERNAL_ADDRESS = 157.166.249.10
 
+    [arm]
+    SYSTEM_ONLY = YES
+    USER_ONLY = NO
+
 .SH FILES
 .TP
 ~/.config/gnunet.conf

Modified: gnunet/src/arm/arm.conf.in
===================================================================
--- gnunet/src/arm/arm.conf.in  2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/src/arm/arm.conf.in  2015-07-08 20:48:24 UTC (rev 36059)
@@ -5,9 +5,6 @@
 ACCEPT_FROM = 127.0.0.1;
 ACCEPT_FROM6 = ::1;
 
-
-DEFAULTSERVICES = topology hostlist dht nse cadet fs revocation
-
 # Special case, uses user runtime dir even for per-system service.
 UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock
 UNIX_MATCH_UID = YES

Modified: gnunet/src/include/gnunet_crypto_lib.h
===================================================================
--- gnunet/src/include/gnunet_crypto_lib.h      2015-07-08 13:03:28 UTC (rev 
36058)
+++ gnunet/src/include/gnunet_crypto_lib.h      2015-07-08 20:48:24 UTC (rev 
36059)
@@ -1753,6 +1753,16 @@
 
 
 /**
+ * Obtain the length of the RSA key in bits.
+ *
+ * @param key the public key to introspect
+ * @return length of the key in bits
+ */
+unsigned int
+GNUNET_CRYPTO_rsa_public_key_len (const struct GNUNET_CRYPTO_rsa_PublicKey 
*key);
+
+
+/**
  * Free memory occupied by the public key.
  *
  * @param key pointer to the memory to free

Modified: gnunet/src/rps/Makefile.am
===================================================================
--- gnunet/src/rps/Makefile.am  2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/src/rps/Makefile.am  2015-07-08 20:48:24 UTC (rev 36059)
@@ -112,4 +112,3 @@
 
 EXTRA_DIST = \
   test_rps.conf
-

Modified: gnunet/src/testbed/test_testbed_underlay.conf.in
===================================================================
--- gnunet/src/testbed/test_testbed_underlay.conf.in    2015-07-08 13:03:28 UTC 
(rev 36058)
+++ gnunet/src/testbed/test_testbed_underlay.conf.in    2015-07-08 20:48:24 UTC 
(rev 36059)
@@ -11,6 +11,3 @@
 
 [dv]
 AUTOSTART = NO
-
-[arm]
-DEFAULTSERVICES = core transport testbed-underlay

Modified: gnunet/src/util/crypto_rsa.c
===================================================================
--- gnunet/src/util/crypto_rsa.c        2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/src/util/crypto_rsa.c        2015-07-08 20:48:24 UTC (rev 36059)
@@ -527,6 +527,32 @@
 
 
 /**
+ * Obtain the length of the RSA key in bits.
+ *
+ * @param key the public key to introspect
+ * @return length of the key in bits
+ */
+unsigned int
+GNUNET_CRYPTO_rsa_public_key_len (const struct GNUNET_CRYPTO_rsa_PublicKey 
*key)
+{
+  gcry_mpi_t n;
+  int ret;
+  unsigned int rval;
+
+  ret = key_from_sexp (&n, key->sexp, "rsa", "n");
+  if (0 != ret)
+  {
+    /* this is no public RSA key */
+    GNUNET_break (0);
+    return 0;
+  }
+  rval = gcry_mpi_get_nbits (n);
+  gcry_mpi_release (n);
+  return rval;
+}
+
+
+/**
  * Destroy a blinding key
  *
  * @param bkey the blinding key to destroy
@@ -549,7 +575,7 @@
  */
 size_t
 GNUNET_CRYPTO_rsa_blinding_key_encode (const struct 
GNUNET_CRYPTO_rsa_BlindingKey *bkey,
-                               char **buffer)
+                                       char **buffer)
 {
   size_t n;
   char *b;

Modified: gnunet/src/util/os_network.c
===================================================================
--- gnunet/src/util/os_network.c        2015-07-08 13:03:28 UTC (rev 36058)
+++ gnunet/src/util/os_network.c        2015-07-08 20:48:24 UTC (rev 36059)
@@ -18,7 +18,6 @@
      Boston, MA 02110-1301, USA.
 
 */
-
 /**
  * @file util/os_network.c
  * @brief function to determine available network interfaces
@@ -38,7 +37,7 @@
  * @brief Enumerate all network interfaces
  *
  * @param proc the callback function
- * @param proc_cls closure for proc
+ * @param proc_cls closure for @a proc
  */
 void
 GNUNET_OS_network_interfaces_list (GNUNET_OS_NetworkInterfaceProcessor proc,




reply via email to

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