From 60fe2395fde7fe99d77aa7e583b9a407af605ddf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 27 Oct 2018 18:39:12 +0200 Subject: clean up struct TALER_ExchangeSigningKeyValidityPS (long-standing fixme: should not have contained the signature itself) --- src/include/taler_exchangedb_lib.h | 6 ++++++ src/include/taler_signatures.h | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_exchangedb_lib.h b/src/include/taler_exchangedb_lib.h index b89dd087d..f942c5fbb 100644 --- a/src/include/taler_exchangedb_lib.h +++ b/src/include/taler_exchangedb_lib.h @@ -55,10 +55,16 @@ struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP */ struct TALER_ExchangePrivateKeyP signkey_priv; + /** + * Signature over @e issue + */ + struct TALER_MasterSignatureP master_sig; + /** * Public information about a exchange signing key. */ struct TALER_ExchangeSigningKeyValidityPS issue; + }; diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 428fa96ec..512198fe8 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -607,13 +607,6 @@ struct TALER_RefreshMeltConfirmationPS */ struct TALER_ExchangeSigningKeyValidityPS { - /** - * Signature over the signing key (by the master key of the exchange). - * - * FIXME: should be moved outside of the "PS" struct, this is ugly. - * (and makes this struct different from all of the others) - */ - struct TALER_MasterSignatureP signature; /** * Purpose is #TALER_SIGNATURE_MASTER_SIGNING_KEY_VALIDITY. -- cgit v1.2.3