diff options
-rw-r--r-- | core/api-common.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index ae4abcc4..6e9db257 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -957,9 +957,11 @@ Any piece of signed data, complies to the abstract data structure given below. /*From gnunet_crypto_lib.h*/ struct GNUNET_CRYPTO_EccSignaturePurpose { /** - - The following constraints apply for a valid amount: - + * This field equals the number of bytes being signed, + * namely 'sizeof (struct Data)'. + */ + uint32_t size; + /** * This field is used to express the context in * which the signature is made, ensuring that a * signature cannot be lifted from one part of the protocol @@ -967,11 +969,6 @@ Any piece of signed data, complies to the abstract data structure given below. * exchange's codebase (git://taler.net/exchange). */ uint32_t purpose; - /** - * This field equals the number of bytes being signed, - * namely 'sizeof (struct Data)'. - */ - uint32_t size; }; |