diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-13 18:42:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-13 18:42:39 +0200 |
commit | 2f6a4bb11c04e657a90eb96abb27a90a9f020230 (patch) | |
tree | 1d3cd91db6f2d84148220f161a5942f9e994f319 /src/util/crypto.c | |
parent | 5827630699a725e24a59d94861b01bad310f6a02 (diff) |
rename TALER_RefreshLinkDecryptedP to TALER_RefreshLinkDecrypted as it contains a pointer and is thus not (P)acked
Diffstat (limited to 'src/util/crypto.c')
-rw-r--r-- | src/util/crypto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c index e2c298da5..e6d6917bc 100644 --- a/src/util/crypto.c +++ b/src/util/crypto.c @@ -183,11 +183,11 @@ TALER_transfer_encrypt (const struct TALER_LinkSecretP *secret, * @param secret shared secret to use for decryption * @return NULL on error */ -struct TALER_RefreshLinkDecryptedP * +struct TALER_RefreshLinkDecrypted * TALER_refresh_decrypt (const struct TALER_RefreshLinkEncrypted *input, const struct TALER_LinkSecretP *secret) { - struct TALER_RefreshLinkDecryptedP *ret; + struct TALER_RefreshLinkDecrypted *ret; struct GNUNET_CRYPTO_SymmetricInitializationVector iv; struct GNUNET_CRYPTO_SymmetricSessionKey skey; size_t buf_size = input->blinding_key_enc_size @@ -203,7 +203,7 @@ TALER_refresh_decrypt (const struct TALER_RefreshLinkEncrypted *input, &iv, buf)) return NULL; - ret = GNUNET_new (struct TALER_RefreshLinkDecryptedP); + ret = GNUNET_new (struct TALER_RefreshLinkDecrypted); memcpy (&ret->coin_priv, buf, sizeof (union TALER_CoinSpendPrivateKeyP)); @@ -227,7 +227,7 @@ TALER_refresh_decrypt (const struct TALER_RefreshLinkEncrypted *input, * @return NULL on error (should never happen) */ struct TALER_RefreshLinkEncrypted * -TALER_refresh_encrypt (const struct TALER_RefreshLinkDecryptedP *input, +TALER_refresh_encrypt (const struct TALER_RefreshLinkDecrypted *input, const struct TALER_LinkSecretP *secret) { char *b_buf; |