diff options
author | Werner Koch <[email protected]> | 2007-01-30 20:16:28 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-01-30 20:16:28 +0000 |
commit | 7eec2efa66b55eab51e20d0fcc606763081d0024 (patch) | |
tree | 87dae67ea711626b9831caa374a3763ce2b7bf14 /g10/call-agent.c | |
parent | jnlib/ (diff) | |
download | gnupg-7eec2efa66b55eab51e20d0fcc606763081d0024.tar.gz gnupg-7eec2efa66b55eab51e20d0fcc606763081d0024.zip |
Added LIBINTL to more Makefile targets.
doc/
* com-certs.pem: Added the current root certifcates of D-Trust and
S-Trust.
g10/
* status.c (write_status_begin_signing): New.
* sign.c (sign_file, sign_symencrypt_file): Call it.
* textfilter.c (copy_clearsig_text): Call it.
* call-agent.c (agent_scd_pksign): Pass --hash-rmd160 to SCD if
required.
* gpg.c (main): Let --no-use-agent and --gpg-agent-info print a
warning.
* misc.c (obsolete_option): New.
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r-- | g10/call-agent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index 30b46fa99..b5e76fdbf 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -668,7 +668,9 @@ agent_scd_pksign (const char *serialno, int hashalgo, snprintf (line, DIM(line)-1, "SCD PKAUTH %s", serialno); else #endif - snprintf (line, DIM(line)-1, "SCD PKSIGN %s", serialno); + snprintf (line, DIM(line)-1, "SCD PKSIGN %s%s", + hashalgo == GCRY_MD_RMD160? "--hash=rmd160 " : "", + serialno); line[DIM(line)-1] = 0; rc = assuan_transact (agent_ctx, line, membuf_data_cb, &data, NULL, NULL, NULL, NULL); |