aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-08 19:13:39 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-08 19:13:39 +0100
commit05f539c127f4e3fce56a04f7aeb1bb204ab3cff2 (patch)
tree68db1a9253a8dba2aac801ef0ca26f82ecd92494 /src/util
parent75b510f92f8eccc1911b0c81bc8f307187809d6a (diff)
initialize master_pub field
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Makefile.am3
-rw-r--r--src/util/offline_signatures.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 9dcc40356..2c8038d07 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -13,10 +13,11 @@ pkgcfgdir = $(prefix)/share/taler/config.d/
pkgcfg_DATA = \
paths.conf \
+ taler-helper-crypto-eddsa.conf \
taler-helper-crypto-rsa.conf
EXTRA_DIST = \
- paths.conf \
+ $(pkgcfg_DATA) \
taler-config.in \
test_helper_eddsa.conf \
test_helper_rsa.conf
diff --git a/src/util/offline_signatures.c b/src/util/offline_signatures.c
index d8f040321..be5783df4 100644
--- a/src/util/offline_signatures.c
+++ b/src/util/offline_signatures.c
@@ -121,6 +121,8 @@ TALER_exchange_offline_signkey_validity_sign (
.signkey_pub = *exchange_pub
};
+ GNUNET_CRYPTO_eddsa_key_get_public (&master_priv->eddsa_priv,
+ &skv.master_public_key.eddsa_pub);
GNUNET_CRYPTO_eddsa_sign (&master_priv->eddsa_priv,
&skv,
&master_sig->eddsa_signature);
@@ -140,6 +142,7 @@ TALER_exchange_offline_signkey_validity_verify (
.purpose.purpose = htonl (
TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY),
.purpose.size = htonl (sizeof (skv)),
+ .master_public_key = *master_pub,
.start = GNUNET_TIME_absolute_hton (start_sign),
.expire = GNUNET_TIME_absolute_hton (end_sign),
.end = GNUNET_TIME_absolute_hton (end_legal),