diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-30 22:08:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-30 22:08:16 +0000 |
commit | 131b463e2583cdde988fb0e8167bc89e4df4c530 (patch) | |
tree | dcde28d0d4b9a46553ddd4bbcd4e17a72aeac3fd /src/vpn/gnunet-vpn.c | |
parent | 9d723d2d6a736ee80effe7496ad337300602ed6e (diff) | |
download | gnunet-131b463e2583cdde988fb0e8167bc89e4df4c530.tar.gz gnunet-131b463e2583cdde988fb0e8167bc89e4df4c530.zip |
-fixing build issues in vpn related to #3047
Diffstat (limited to 'src/vpn/gnunet-vpn.c')
-rw-r--r-- | src/vpn/gnunet-vpn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vpn/gnunet-vpn.c b/src/vpn/gnunet-vpn.c index 4c8dc43c0..b4d6824d9 100644 --- a/src/vpn/gnunet-vpn.c +++ b/src/vpn/gnunet-vpn.c | |||
@@ -226,8 +226,9 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
226 | if (udp) | 226 | if (udp) |
227 | protocol = IPPROTO_UDP; | 227 | protocol = IPPROTO_UDP; |
228 | if (GNUNET_OK != | 228 | if (GNUNET_OK != |
229 | GNUNET_CRYPTO_hash_from_string (peer_id, | 229 | GNUNET_CRYPTO_ecc_public_sign_key_from_string (peer_id, |
230 | &peer.hashPubKey)) | 230 | strlen (peer_id), |
231 | &peer.public_key)) | ||
231 | { | 232 | { |
232 | FPRINTF (stderr, _("`%s' is not a valid peer identifier.\n"), | 233 | FPRINTF (stderr, _("`%s' is not a valid peer identifier.\n"), |
233 | peer_id); | 234 | peer_id); |