diff options
Diffstat (limited to 'src/revocation/plugin_block_revocation.c')
-rw-r--r-- | src/revocation/plugin_block_revocation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/revocation/plugin_block_revocation.c b/src/revocation/plugin_block_revocation.c index 7de4fafe9..9686f23ff 100644 --- a/src/revocation/plugin_block_revocation.c +++ b/src/revocation/plugin_block_revocation.c | |||
@@ -94,7 +94,7 @@ block_plugin_revocation_check_block (void *cls, | |||
94 | const struct RevokeMessage *rm = block; | 94 | const struct RevokeMessage *rm = block; |
95 | const struct GNUNET_REVOCATION_PowP *pow | 95 | const struct GNUNET_REVOCATION_PowP *pow |
96 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; | 96 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; |
97 | struct GNUNET_IDENTITY_PublicKey pk; | 97 | struct GNUNET_CRYPTO_PublicKey pk; |
98 | size_t pklen; | 98 | size_t pklen; |
99 | size_t left; | 99 | size_t left; |
100 | 100 | ||
@@ -115,7 +115,7 @@ block_plugin_revocation_check_block (void *cls, | |||
115 | } | 115 | } |
116 | left = block_size - sizeof (*rm) - sizeof (*pow); | 116 | left = block_size - sizeof (*rm) - sizeof (*pow); |
117 | if (GNUNET_SYSERR == | 117 | if (GNUNET_SYSERR == |
118 | GNUNET_IDENTITY_read_public_key_from_buffer (&pow[1], | 118 | GNUNET_CRYPTO_read_public_key_from_buffer (&pow[1], |
119 | left, | 119 | left, |
120 | &pk, | 120 | &pk, |
121 | &pklen)) | 121 | &pklen)) |
@@ -204,7 +204,7 @@ block_plugin_revocation_get_key (void *cls, | |||
204 | const struct RevokeMessage *rm = block; | 204 | const struct RevokeMessage *rm = block; |
205 | const struct GNUNET_REVOCATION_PowP *pow | 205 | const struct GNUNET_REVOCATION_PowP *pow |
206 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; | 206 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; |
207 | struct GNUNET_IDENTITY_PublicKey pk; | 207 | struct GNUNET_CRYPTO_PublicKey pk; |
208 | size_t pklen; | 208 | size_t pklen; |
209 | size_t left; | 209 | size_t left; |
210 | 210 | ||
@@ -224,7 +224,7 @@ block_plugin_revocation_get_key (void *cls, | |||
224 | return GNUNET_NO; | 224 | return GNUNET_NO; |
225 | } | 225 | } |
226 | left = block_size - sizeof (*rm) - sizeof (*pow); | 226 | left = block_size - sizeof (*rm) - sizeof (*pow); |
227 | if (GNUNET_SYSERR == GNUNET_IDENTITY_read_public_key_from_buffer (&pow[1], | 227 | if (GNUNET_SYSERR == GNUNET_CRYPTO_read_public_key_from_buffer (&pow[1], |
228 | left, | 228 | left, |
229 | &pk, | 229 | &pk, |
230 | &pklen)) | 230 | &pklen)) |