~ubuntu-branches/ubuntu/hardy/gnupg2/hardy

« back to all changes in this revision

Viewing changes to g10/call-agent.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-02-02 14:29:54 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070202142954-f5h55skq432ona6m
Tags: 2.0.2-0ubuntu1
* New upstream release
  - includes the patch for CVE-2006-6235
  - a PIN pad can now also be used for signing keys
* Remaining changes:
  - Remove libpcsclite-dev, libopensc2-dev build dependencies (they are in
    universe).
  - Build-depend on libcurl3-gnutls-dev
  - Include /doc files as done with gnupg
* g10/call-agent.c: set DBG_ASSUAN to 0 to suppress a debug message
* debian/rules: add doc/com-certs.pem to the docs for gpgsm
* debian/README.Debian: remove note the gnupg2 isn't released yet.
* Modified Maintainer values to match Debian-Maintainer-Field spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
#include "call-agent.h"
46
46
 
47
47
#ifndef DBG_ASSUAN
48
 
# define DBG_ASSUAN 1
 
48
# define DBG_ASSUAN 0
49
49
#endif
50
50
 
51
51
static assuan_context_t agent_ctx = NULL;
668
668
    snprintf (line, DIM(line)-1, "SCD PKAUTH %s", serialno);
669
669
  else
670
670
#endif
671
 
   snprintf (line, DIM(line)-1, "SCD PKSIGN %s", serialno);
 
671
    snprintf (line, DIM(line)-1, "SCD PKSIGN %s%s",
 
672
              hashalgo == GCRY_MD_RMD160? "--hash=rmd160 " : "",
 
673
              serialno);
672
674
  line[DIM(line)-1] = 0;
673
675
  rc = assuan_transact (agent_ctx, line, membuf_data_cb, &data,
674
676
                        NULL, NULL, NULL, NULL);