Support hash functions other than 'tls-md5sha1'.
* src/agent.c (decode_hash): New function. (scute_agent_sign): Use the new function, and return the correct size not the maximum size if 'sig_result' is NULL.
- Signed-off-by: Justus Winter <justus@g10code.com>