aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-openpgp.c
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-08-21 08:38:41 +0000
committerNeal H. Walfield <[email protected]>2015-08-21 12:21:08 +0000
commit4f37820334fadd8c5036ea6c42f3dc242665c4a9 (patch)
tree845602a6cb68a8c17b42c0347d1a17ab503bba3d /kbx/keybox-openpgp.c
parentcommon: Don't incorrectly copy packets with partial lengths. (diff)
downloadgnupg-4f37820334fadd8c5036ea6c42f3dc242665c4a9.tar.gz
gnupg-4f37820334fadd8c5036ea6c42f3dc242665c4a9.zip
common: Don't assume on-disk layout matches in-memory layout.
* g10/packet.h (PKT_signature): Change revkey's type from a struct revocation_key ** to a struct revocation_key *. Update users. -- revkey was a pointer into the raw data. But, C doesn't guarantee that there is no padding. Thus, we copy the data. Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'kbx/keybox-openpgp.c')
0 files changed, 0 insertions, 0 deletions