diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-18 11:25:38 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-18 11:25:38 +0200 |
commit | 6066ffcb9b07f9e2709d0382afa3fc05c52e21c7 (patch) | |
tree | 6f08cc9e4b38aea696b52755afc0565dd1f2c4a9 /src/exchange/taler-exchange-httpd_keystate.c | |
parent | b3cbe01079ea1044f8d1f8bf47e995443efe8390 (diff) | |
download | exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.gz exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.tar.bz2 exchange-6066ffcb9b07f9e2709d0382afa3fc05c52e21c7.zip |
dead code elimination
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keystate.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 7d6bb08a3..6134faf34 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -1846,34 +1846,6 @@ TEH_KS_acquire_ (struct GNUNET_TIME_Absolute now, /** - * Look up the issue for a denom public key. - * - * @param key_state state to look in - * @param denom_pub denomination public key - * @param use purpose for which the key is being located - * @return the denomination key issue, - * or NULL if denom_pub could not be found - */ -struct TALER_EXCHANGEDB_DenominationKeyIssueInformation * -TEH_KS_denomination_key_lookup (const struct TEH_KS_StateHandle *key_state, - const struct TALER_DenominationPublicKey *denom_pub, - enum TEH_KS_DenominationKeyUse use) -{ - struct GNUNET_HashCode hc; - - GNUNET_CRYPTO_rsa_public_key_hash (denom_pub->rsa_public_key, - &hc); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Looking for denom: '%s..'\n", - TALER_B2S (&hc)); - - return TEH_KS_denomination_key_lookup_by_hash (key_state, - &hc, - use); -} - - -/** * Look up the issue for a denom public key. Note that the result * is only valid while the @a key_state is not released! * |