diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-06 14:04:11 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-06 14:04:11 +0200 |
commit | 131595b6c63c42b7d939fbd27fb35e328a13b5c1 (patch) | |
tree | 96b53adec0600f8af2b0746abe00ebd5a5514530 | |
parent | 9ba5635e0a75d48ef5d86107ea520c70fd8b0551 (diff) |
fix keyio
-rw-r--r-- | src/mintdb/mintdb_keyio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mintdb/mintdb_keyio.c b/src/mintdb/mintdb_keyio.c index 81ffb97bb..f475218b9 100644 --- a/src/mintdb/mintdb_keyio.c +++ b/src/mintdb/mintdb_keyio.c @@ -140,7 +140,7 @@ TALER_MINTDB_denomination_key_read (const char *filename, filename); return GNUNET_SYSERR; } - offset = sizeof (struct TALER_DenominationKeyValidityPS); + offset = sizeof (struct TALER_MINTDB_DenominationKeyInformationP); if (size <= offset) { GNUNET_break (0); @@ -204,7 +204,7 @@ TALER_MINTDB_denomination_key_write (const char *filename, GNUNET_DISK_OPEN_WRITE | GNUNET_DISK_OPEN_CREATE | GNUNET_DISK_OPEN_TRUNCATE, GNUNET_DISK_PERM_USER_READ | GNUNET_DISK_PERM_USER_WRITE))) goto cleanup; - wsize = sizeof (struct TALER_DenominationKeyValidityPS); + wsize = sizeof (struct TALER_MINTDB_DenominationKeyInformationP); if (GNUNET_SYSERR == (wrote = GNUNET_DISK_file_write (fh, &dki->issue, wsize))) |