gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r29733 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r29733 - gnunet/src/vpn
Date: Tue, 1 Oct 2013 00:08:16 +0200

Author: grothoff
Date: 2013-10-01 00:08:16 +0200 (Tue, 01 Oct 2013)
New Revision: 29733

Modified:
   gnunet/src/vpn/gnunet-helper-vpn.c
   gnunet/src/vpn/gnunet-vpn.c
Log:
-fixing build issues in vpn related to #3047

Modified: gnunet/src/vpn/gnunet-helper-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-helper-vpn.c  2013-09-30 22:06:43 UTC (rev 29732)
+++ gnunet/src/vpn/gnunet-helper-vpn.c  2013-09-30 22:08:16 UTC (rev 29733)
@@ -38,6 +38,7 @@
 /**
  * Need 'struct GNUNET_MessageHeader'.
  */
+#include "gnunet_crypto_lib.h"
 #include "gnunet_common.h"
 
 /**

Modified: gnunet/src/vpn/gnunet-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-vpn.c 2013-09-30 22:06:43 UTC (rev 29732)
+++ gnunet/src/vpn/gnunet-vpn.c 2013-09-30 22:08:16 UTC (rev 29733)
@@ -226,8 +226,9 @@
     if (udp)
       protocol = IPPROTO_UDP;
     if (GNUNET_OK !=
-       GNUNET_CRYPTO_hash_from_string (peer_id,
-                                       &peer.hashPubKey))
+       GNUNET_CRYPTO_ecc_public_sign_key_from_string (peer_id,
+                                                      strlen (peer_id),
+                                                      &peer.public_key))
     {
       FPRINTF (stderr, _("`%s' is not a valid peer identifier.\n"),
                peer_id);




reply via email to

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