diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-08-23 18:08:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-08-23 18:08:12 +0200 |
commit | 39d908dfb9de0c1ca792723747d0fb41d2c3233e (patch) | |
tree | e17ecf05ab23055694bf78eaf744020a5cd3e10b /src | |
parent | 89b6048b54c00faf5f143f4cf84b41e2aa109ca9 (diff) |
fix #9113
Diffstat (limited to 'src')
-rw-r--r-- | src/exchange/taler-exchange-httpd_aml-attributes-get.c | 5 | ||||
-rw-r--r-- | src/exchangedb/pg_select_aml_attributes.c | 7 | ||||
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 1 |
3 files changed, 0 insertions, 13 deletions
diff --git a/src/exchange/taler-exchange-httpd_aml-attributes-get.c b/src/exchange/taler-exchange-httpd_aml-attributes-get.c index 1bf7888fe..ee3b6de5a 100644 --- a/src/exchange/taler-exchange-httpd_aml-attributes-get.c +++ b/src/exchange/taler-exchange-httpd_aml-attributes-get.c @@ -41,7 +41,6 @@ * * @param cls closure * @param row_id current row in kyc_attributes table - * @param provider_name which provider collected the data, NULL for user upload * @param collection_time when were the attributes collected * @param enc_attributes_size length of @a enc_attributes * @param enc_attributes the encrypted collected attributes @@ -50,7 +49,6 @@ static void detail_cb ( void *cls, uint64_t row_id, - const char *provider_name, struct GNUNET_TIME_Timestamp collection_time, size_t enc_attributes_size, const void *enc_attributes) @@ -74,9 +72,6 @@ detail_cb ( GNUNET_JSON_pack_int64 ("rowid", row_id), GNUNET_JSON_pack_allow_null ( - GNUNET_JSON_pack_string ("provider_name", - provider_name)), - GNUNET_JSON_pack_allow_null ( GNUNET_JSON_pack_object_steal ("attributes", attrs)), GNUNET_JSON_pack_timestamp ("collection_time", diff --git a/src/exchangedb/pg_select_aml_attributes.c b/src/exchangedb/pg_select_aml_attributes.c index 09136e2fd..f8a72de89 100644 --- a/src/exchangedb/pg_select_aml_attributes.c +++ b/src/exchangedb/pg_select_aml_attributes.c @@ -72,17 +72,12 @@ handle_aml_attributes (void *cls, for (unsigned int i = 0; i<num_results; i++) { uint64_t rowid; - char *provider_name; struct GNUNET_TIME_Timestamp collection_time; size_t enc_attributes_size; void *enc_attributes; struct GNUNET_PQ_ResultSpec rs[] = { GNUNET_PQ_result_spec_uint64 ("kyc_attributes_serial_id", &rowid), - GNUNET_PQ_result_spec_allow_null ( - GNUNET_PQ_result_spec_string ("provider", - &provider_name), - NULL), GNUNET_PQ_result_spec_timestamp ("collection_time", &collection_time), GNUNET_PQ_result_spec_variable_size ("encrypted_attributes", @@ -103,7 +98,6 @@ handle_aml_attributes (void *cls, ctx->cb (ctx->cb_cls, rowid, - provider_name, collection_time, enc_attributes_size, enc_attributes); @@ -144,7 +138,6 @@ TEH_PG_select_aml_attributes ( "select_aml_attributes_inc", "SELECT" " kyc_attributes_serial_id" - ",provider" ",collection_time" ",encrypted_attributes" " FROM kyc_attributes" diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index e5c03cd72..1be4f147d 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -3623,7 +3623,6 @@ typedef void (*TALER_EXCHANGEDB_AmlAttributeCallback)( void *cls, uint64_t row_id, - const char *provider_name, struct GNUNET_TIME_Timestamp collection_time, size_t enc_attributes_size, const void *enc_attributes); |