Home GnuPG
Diffusion GnuPG 91b826a38880

Avoid sign extension when shifting the MSB.
91b826a38880Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Avoid sign extension when shifting the MSB.

* sm/fingerprint.c (gpgsm_get_short_fingerprint): Cast MSB before
shifting.
* g10/build-packet.c (delete_sig_subpkt): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 5 2014, 8:23 AM
Parents
rG46fa1e0fe9f7: Remove all expired common CA certificates.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG91b826a38880: Avoid sign extension when shifting the MSB. (authored by Werner Koch <wk@gnupg.org>).Nov 5 2014, 8:23 AM