~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to scd/app-help.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-08 22:46:47 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308224647-gq17gatcl71lrc2k
Tags: 2.0.11-1
* New upstream release. (Closes: #496663)
* debian/control: Make the description a little more distinctive than
  gnupg v1's. Thanks Jari Aalto. (Closes: #496323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
  ksba_sexp_t p;
40
40
  size_t n;
41
41
  unsigned char array[20];
42
 
  int i;
43
42
 
44
43
  p = ksba_cert_get_public_key (cert);
45
44
  if (!p)
58
57
    }
59
58
  gcry_sexp_release (s_pkey);
60
59
 
61
 
  for (i=0; i < 20; i++)
62
 
    sprintf (hexkeygrip+i*2, "%02X", array[i]);
 
60
  bin2hex (array, 20, hexkeygrip);
63
61
 
64
62
  return 0;
65
63
}