diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-06 10:16:49 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-06 10:16:49 +0200 |
commit | 2e7b28765ea2871df03353681f0680c53ec3ebef (patch) | |
tree | 3895a042cc0e54ed325bdefe643b2a66413e75d1 /src/mintdb/test_mintdb_keyio.c | |
parent | 7ad57d7a6708eb451395a78b4c88797844d78d62 (diff) |
simplifying use of struct TALER_DenominationKeyValidityPS by removing signature
Diffstat (limited to 'src/mintdb/test_mintdb_keyio.c')
-rw-r--r-- | src/mintdb/test_mintdb_keyio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mintdb/test_mintdb_keyio.c b/src/mintdb/test_mintdb_keyio.c index a32d64931..aa1ba2f20 100644 --- a/src/mintdb/test_mintdb_keyio.c +++ b/src/mintdb/test_mintdb_keyio.c @@ -53,8 +53,7 @@ main (int argc, dki_read.denom_priv.rsa_private_key = NULL; GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, &dki.issue.signature, - sizeof (dki) - offsetof (struct TALER_DenominationKeyValidityPS, - signature)); + sizeof (struct TALER_MasterSignatureP)); dki.denom_priv.rsa_private_key = GNUNET_CRYPTO_rsa_private_key_create (RSA_KEY_SIZE); enc_size = GNUNET_CRYPTO_rsa_private_key_encode (dki.denom_priv.rsa_private_key, |