diff options
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index f1264d254..3c901b3fa 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -247,19 +247,21 @@ struct TALER_RefreshLinkEncrypted { /** - * Encrypted private key of the coin. + * Encrypted blinding key with @e blinding_key_enc_size bytes, + * must be allocated at the end of this struct. */ - char [sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)] coin_priv_enc; + const char *blinding_key_enc; /** - * Encrypted blinding key with @e blinding_key_enc_size bytes. + * Number of bytes in @e blinding_key_enc. */ - char *blinding_key_enc; + size_t blinding_key_enc_size; /** - * Number of bytes in @e blinding_key_enc. + * Encrypted private key of the coin. */ - size_t blinding_key_enc_size; + char coin_priv_enc[sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)]; + }; |