Unbreak DSA signature trailer handling
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 23 May 2008 13:59:04 +0000 (16:59 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 23 May 2008 14:07:35 +0000 (17:07 +0300)
commit5f061ca214578f41dc93aa6c75a78cb4006f7e33
tree68b7ade7b7dc3ac33f676ad58999ace647bd25f9
parent071692bb84ca70667f1b3d756145087baac7245c
Unbreak DSA signature trailer handling
- RFC 4880 states the following:
V4 signatures also hash in a final trailer of six octets: the
version of the Signature packet, i.e., 0x04; 0xFF; and a four-octet,
big-endian number that is the length of the hashed data from the
Signature packet (note that this number does not include these final
six octets).
  ... but we were using size_t, whose size is  platform dependent, oops :)
lib/signature.c