aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorLucien Heuzeveldt <lucienclaude.heuzeveldt@students.bfh.ch>2022-01-10 22:09:35 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:36:10 +0100
commitdaa7fdcfb1053bdd943ad7cd1bd8eb623d1c9157 (patch)
tree1cfce5401b493dfd017608cbbb05ee91ab9b247b /src/pq
parent9c2aefaa515ce8d493bfe4de4eab9edc09d5447e (diff)
implement spend
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq_result_helper.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c
index 2009f0e33..02733f298 100644
--- a/src/pq/pq_result_helper.c
+++ b/src/pq/pq_result_helper.c
@@ -552,7 +552,16 @@ extract_denom_sig (void *cls,
return GNUNET_SYSERR;
}
return GNUNET_OK;
- // FIXME: add CS case!
+ case TALER_DENOMINATION_CS:
+ if (sizeof (sig->details.cs_signature) != len)
+ {
+ GNUNET_break (0);
+ return GNUNET_SYSERR;
+ }
+ memcpy (&sig->details.cs_signature,
+ res,
+ len);
+ return GNUNET_OK;
default:
GNUNET_break (0);
}