diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-06 23:51:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-06 23:51:15 +0200 |
commit | d55b2cd59de8052ce87118ff68b0bf68cd7f3b67 (patch) | |
tree | f9d0f56464f34d7060bbd05cbfa0c8d7aabbab3a /src/exchangedb/plugin_exchangedb_postgres.c | |
parent | d6d0ddbe072bae02f8dffe825b64be2d4d84b862 (diff) | |
download | exchange-d55b2cd59de8052ce87118ff68b0bf68cd7f3b67.tar.xz |
more work on test, noting what is left to do
Diffstat (limited to 'src/exchangedb/plugin_exchangedb_postgres.c')
-rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 93680563c..ab47964c8 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -1555,6 +1555,10 @@ postgres_get_denomination_info (void *cls, 0)); } PQclear (result); + issue->properties.purpose.size = htonl (sizeof (struct TALER_DenominationKeyValidityPS)); + issue->properties.purpose.purpose = htonl (TALER_SIGNATURE_MASTER_DENOMINATION_KEY_VALIDITY); + GNUNET_CRYPTO_rsa_public_key_hash (denom_pub->rsa_public_key, + &issue->properties.denom_hash); return GNUNET_OK; EXITIF_exit: |