* g10.c, options.h: Removed option --emulate-checksum-bug.
authorWerner Koch <wk@gnupg.org>
Wed, 11 Sep 2002 07:27:54 +0000 (07:27 +0000)
committerWerner Koch <wk@gnupg.org>
Wed, 11 Sep 2002 07:27:54 +0000 (07:27 +0000)
commitc5445cc3239e7654fbaf145c6e697de54093892f
treefb8e0b6e5018951bd13aade5f46b3444d2fe005c
parentc30d7e8dc704acdb9cb8e32275ff4d115cc68cc6
* g10.c, options.h: Removed option --emulate-checksum-bug.
* misc.c (checksum_u16_nobug): Removed.
(checksum_u16): Removed the bug emulation.
(checksum_mpi): Ditto.
(checksum_mpi_counted_nbits): Removed and replaced all calls
with checksum_mpi.
* parse-packet.c (read_protected_v3_mpi): New.
(parse_key): Use it here to store it as an opaque MPI.
* seckey-cert.c (do_check): Changed the v3 unprotection to the new
why to store these keys.
(protect_secret_key): Likewise.
* build-packet.c (do_secret_key): And changed the writing.
g10/ChangeLog
g10/build-packet.c
g10/g10.c
g10/keygen.c
g10/main.h
g10/misc.c
g10/options.h
g10/parse-packet.c
g10/seckey-cert.c
g10/tdbio.c