diff options
author | Andreas Ebner <pansy007@googlemail.com> | 2019-08-25 12:23:33 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:17:29 +0200 |
commit | d4790594a33a4688641f66841f05533b3c0956b9 (patch) | |
tree | ee136e65e4154a7d4bb6eb947f19b631329cdce2 /src/credential/credential_serialization.c | |
parent | 418b7f2cef91e344672edf3926b82a5a3043e9ba (diff) | |
download | gnunet-d4790594a33a4688641f66841f05533b3c0956b9.tar.gz gnunet-d4790594a33a4688641f66841f05533b3c0956b9.zip |
Introduction of intermediate result reporting, removed some stuff, new test:
- new message, message type and api function to handle intermediate result reporting
- removed GNUNET_SIGNATURE_PURPOSE_CREDENTIAL completely and the one usage that was still around
- new test: AND with both parts having a bidirectional forward match
Diffstat (limited to 'src/credential/credential_serialization.c')
-rw-r--r-- | src/credential/credential_serialization.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/credential/credential_serialization.c b/src/credential/credential_serialization.c index 240ab4dca..28773de8e 100644 --- a/src/credential/credential_serialization.c +++ b/src/credential/credential_serialization.c | |||
@@ -191,7 +191,7 @@ GNUNET_CREDENTIAL_delegates_serialize ( | |||
191 | c_rec.issuer_key = cd[i].issuer_key; | 191 | c_rec.issuer_key = cd[i].issuer_key; |
192 | c_rec.subject_key = cd[i].subject_key; | 192 | c_rec.subject_key = cd[i].subject_key; |
193 | c_rec.signature = cd[i].signature; | 193 | c_rec.signature = cd[i].signature; |
194 | c_rec.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_CREDENTIAL); | 194 | c_rec.purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_DELEGATE); |
195 | c_rec.purpose.size = | 195 | c_rec.purpose.size = |
196 | htonl ((sizeof (struct DelegateEntry) + cd[i].issuer_attribute_len) - | 196 | htonl ((sizeof (struct DelegateEntry) + cd[i].issuer_attribute_len) - |
197 | sizeof (struct GNUNET_CRYPTO_EcdsaSignature)); | 197 | sizeof (struct GNUNET_CRYPTO_EcdsaSignature)); |