- read proper keyfile
authorBart Polot <bart@net.in.tum.de>
Fri, 8 Feb 2013 12:01:11 +0000 (12:01 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 8 Feb 2013 12:01:11 +0000 (12:01 +0000)
src/regex/gnunet-daemon-regexprofiler.c

index 6d330cf688acf3ba4e4d27ab8202e650901b32c6..1d0f4c1601e7c9fedfe8c8571ffb1765efcde487 100644 (file)
@@ -327,13 +327,13 @@ run (void *cls, char *const *args GNUNET_UNUSED,
   cfg = cfg_;
 
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_filename (cfg, "GNUNETD", "HOSTKEY",
+      GNUNET_CONFIGURATION_get_value_filename (cfg, "PEER", "PRIVATEKEY",
                                                &keyfile))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _
                 ("%s service is lacking key configuration settings (%s).  Exiting.\n"),
-                "regexprofiler", "hostkey");
+                "regexdaemon", "peer/privatekey");
     GNUNET_SCHEDULER_shutdown ();
     return;
   }