diff options
Diffstat (limited to 'src/revocation/gnunet-revocation.c')
-rw-r--r-- | src/revocation/gnunet-revocation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/revocation/gnunet-revocation.c b/src/revocation/gnunet-revocation.c index 853ca0f71..9667e7655 100644 --- a/src/revocation/gnunet-revocation.c +++ b/src/revocation/gnunet-revocation.c | |||
@@ -323,8 +323,8 @@ calculate_pow (void *cls) | |||
323 | static void | 323 | static void |
324 | ego_callback (void *cls, struct GNUNET_IDENTITY_Ego *ego) | 324 | ego_callback (void *cls, struct GNUNET_IDENTITY_Ego *ego) |
325 | { | 325 | { |
326 | struct GNUNET_IDENTITY_PublicKey key; | 326 | struct GNUNET_CRYPTO_PublicKey key; |
327 | const struct GNUNET_IDENTITY_PrivateKey *privkey; | 327 | const struct GNUNET_CRYPTO_PrivateKey *privkey; |
328 | struct GNUNET_REVOCATION_PowCalculationHandle *ph = NULL; | 328 | struct GNUNET_REVOCATION_PowCalculationHandle *ph = NULL; |
329 | size_t psize; | 329 | size_t psize; |
330 | 330 | ||
@@ -343,7 +343,7 @@ ego_callback (void *cls, struct GNUNET_IDENTITY_Ego *ego) | |||
343 | GNUNET_DISK_fn_read (filename, proof_of_work, | 343 | GNUNET_DISK_fn_read (filename, proof_of_work, |
344 | GNUNET_REVOCATION_MAX_PROOF_SIZE)))) | 344 | GNUNET_REVOCATION_MAX_PROOF_SIZE)))) |
345 | { | 345 | { |
346 | ssize_t ksize = GNUNET_IDENTITY_public_key_get_length (&key); | 346 | ssize_t ksize = GNUNET_CRYPTO_public_key_get_length (&key); |
347 | if (0 > ksize) | 347 | if (0 > ksize) |
348 | { | 348 | { |
349 | fprintf (stderr, | 349 | fprintf (stderr, |
@@ -411,14 +411,14 @@ run (void *cls, | |||
411 | const char *cfgfile, | 411 | const char *cfgfile, |
412 | const struct GNUNET_CONFIGURATION_Handle *c) | 412 | const struct GNUNET_CONFIGURATION_Handle *c) |
413 | { | 413 | { |
414 | struct GNUNET_IDENTITY_PublicKey pk; | 414 | struct GNUNET_CRYPTO_PublicKey pk; |
415 | size_t psize; | 415 | size_t psize; |
416 | 416 | ||
417 | cfg = c; | 417 | cfg = c; |
418 | if (NULL != test_ego) | 418 | if (NULL != test_ego) |
419 | { | 419 | { |
420 | if (GNUNET_OK != | 420 | if (GNUNET_OK != |
421 | GNUNET_IDENTITY_public_key_from_string (test_ego, | 421 | GNUNET_CRYPTO_public_key_from_string (test_ego, |
422 | &pk)) | 422 | &pk)) |
423 | { | 423 | { |
424 | fprintf (stderr, _ ("Public key `%s' malformed\n"), test_ego); | 424 | fprintf (stderr, _ ("Public key `%s' malformed\n"), test_ego); |