diff options
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r-- | src/revocation/gnunet-service-revocation.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c index 2cee70857..3755b87e5 100644 --- a/src/revocation/gnunet-service-revocation.c +++ b/src/revocation/gnunet-service-revocation.c | |||
@@ -250,7 +250,7 @@ handle_query_message (void *cls, | |||
250 | const struct QueryMessage *qm) | 250 | const struct QueryMessage *qm) |
251 | { | 251 | { |
252 | struct GNUNET_SERVICE_Client *client = cls; | 252 | struct GNUNET_SERVICE_Client *client = cls; |
253 | struct GNUNET_IDENTITY_PublicKey zone; | 253 | struct GNUNET_CRYPTO_PublicKey zone; |
254 | struct GNUNET_MQ_Envelope *env; | 254 | struct GNUNET_MQ_Envelope *env; |
255 | struct QueryResponseMessage *qrm; | 255 | struct QueryResponseMessage *qrm; |
256 | struct GNUNET_HashCode hc; | 256 | struct GNUNET_HashCode hc; |
@@ -260,7 +260,7 @@ handle_query_message (void *cls, | |||
260 | 260 | ||
261 | key_len = ntohl (qm->key_len); | 261 | key_len = ntohl (qm->key_len); |
262 | if ((GNUNET_SYSERR == | 262 | if ((GNUNET_SYSERR == |
263 | GNUNET_IDENTITY_read_public_key_from_buffer (&qm[1], key_len, | 263 | GNUNET_CRYPTO_read_public_key_from_buffer (&qm[1], key_len, |
264 | &zone, &read)) || | 264 | &zone, &read)) || |
265 | (read != key_len)) | 265 | (read != key_len)) |
266 | { | 266 | { |
@@ -344,11 +344,11 @@ publicize_rm (const struct RevokeMessage *rm) | |||
344 | ssize_t pklen; | 344 | ssize_t pklen; |
345 | const struct GNUNET_REVOCATION_PowP *pow | 345 | const struct GNUNET_REVOCATION_PowP *pow |
346 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; | 346 | = (const struct GNUNET_REVOCATION_PowP *) &rm[1]; |
347 | const struct GNUNET_IDENTITY_PublicKey *pk | 347 | const struct GNUNET_CRYPTO_PublicKey *pk |
348 | = (const struct GNUNET_IDENTITY_PublicKey *) &pow[1]; | 348 | = (const struct GNUNET_CRYPTO_PublicKey *) &pow[1]; |
349 | 349 | ||
350 | /** FIXME yeah this works, but should we have a key length somewhere? */ | 350 | /** FIXME yeah this works, but should we have a key length somewhere? */ |
351 | pklen = GNUNET_IDENTITY_public_key_get_length (pk); | 351 | pklen = GNUNET_CRYPTO_public_key_get_length (pk); |
352 | if (0 > pklen) | 352 | if (0 > pklen) |
353 | { | 353 | { |
354 | GNUNET_break_op (0); | 354 | GNUNET_break_op (0); |
@@ -879,7 +879,7 @@ run (void *cls, | |||
879 | uint64_t left; | 879 | uint64_t left; |
880 | struct RevokeMessage *rm; | 880 | struct RevokeMessage *rm; |
881 | struct GNUNET_HashCode hc; | 881 | struct GNUNET_HashCode hc; |
882 | const struct GNUNET_IDENTITY_PublicKey *pk; | 882 | const struct GNUNET_CRYPTO_PublicKey *pk; |
883 | 883 | ||
884 | GNUNET_CRYPTO_hash ("revocation-set-union-application-id", | 884 | GNUNET_CRYPTO_hash ("revocation-set-union-application-id", |
885 | strlen ("revocation-set-union-application-id"), | 885 | strlen ("revocation-set-union-application-id"), |
@@ -983,8 +983,8 @@ run (void *cls, | |||
983 | struct GNUNET_REVOCATION_PowP *pow = (struct | 983 | struct GNUNET_REVOCATION_PowP *pow = (struct |
984 | GNUNET_REVOCATION_PowP *) &rm[1]; | 984 | GNUNET_REVOCATION_PowP *) &rm[1]; |
985 | ssize_t ksize; | 985 | ssize_t ksize; |
986 | pk = (const struct GNUNET_IDENTITY_PublicKey *) &pow[1]; | 986 | pk = (const struct GNUNET_CRYPTO_PublicKey *) &pow[1]; |
987 | ksize = GNUNET_IDENTITY_public_key_get_length (pk); | 987 | ksize = GNUNET_CRYPTO_public_key_get_length (pk); |
988 | if (0 > ksize) | 988 | if (0 > ksize) |
989 | { | 989 | { |
990 | GNUNET_break_op (0); | 990 | GNUNET_break_op (0); |