diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-28 20:59:39 +0100 |
commit | 5fcca8707f4a4fd6568095872a1bb6e7124ee508 (patch) | |
tree | 67abfe3474c48ee2e8b1c8f3ce95734a767840c2 /src/mint/taler-mint-httpd_keys.c | |
parent | 8c558ddf89f12cd282154de3c9bdb295d45fbcfb (diff) |
simplify logic, remove dead call
Diffstat (limited to 'src/mint/taler-mint-httpd_keys.c')
-rw-r--r-- | src/mint/taler-mint-httpd_keys.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mint/taler-mint-httpd_keys.c b/src/mint/taler-mint-httpd_keys.c index 71d7f077..a03f5d23 100644 --- a/src/mint/taler-mint-httpd_keys.c +++ b/src/mint/taler-mint-httpd_keys.c @@ -72,30 +72,4 @@ TALER_MINT_handler_keys (struct RequestHandler *rh, } - - -/** - * Sign the message in @a purpose with the mint's signing - * key. - * - * @param purpose the message to sign - * @param[OUT] sig signature over purpose using current signing key - */ -void -TALER_MINT_keys_sign (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose, - struct GNUNET_CRYPTO_EddsaSignature *sig) - -{ - struct MintKeyState *key_state; - - key_state = TALER_MINT_key_state_acquire (); - GNUNET_assert (GNUNET_OK == - GNUNET_CRYPTO_eddsa_sign (&key_state->current_sign_key_issue.signkey_priv, - purpose, - sig)); - - TALER_MINT_key_state_release (key_state); -} - - /* end of taler-mint-httpd_keys.c */ |