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 | |||
247 | { | 247 | { |
248 | 248 | ||
249 | /** | 249 | /** |
250 | * Encrypted private key of the coin. | 250 | * Encrypted blinding key with @e blinding_key_enc_size bytes, |
251 | * must be allocated at the end of this struct. | ||
251 | */ | 252 | */ |
252 | char [sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)] coin_priv_enc; | 253 | const char *blinding_key_enc; |
253 | 254 | ||
254 | /** | 255 | /** |
255 | * Encrypted blinding key with @e blinding_key_enc_size bytes. | 256 | * Number of bytes in @e blinding_key_enc. |
256 | */ | 257 | */ |
257 | char *blinding_key_enc; | 258 | size_t blinding_key_enc_size; |
258 | 259 | ||
259 | /** | 260 | /** |
260 | * Number of bytes in @e blinding_key_enc. | 261 | * Encrypted private key of the coin. |
261 | */ | 262 | */ |
262 | size_t blinding_key_enc_size; | 263 | char coin_priv_enc[sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)]; |
264 | |||
263 | }; | 265 | }; |
264 | 266 | ||
265 | 267 | ||