summaryrefslogtreecommitdiffstats
path: root/g10/main.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-09-11 09:27:54 +0200
committerWerner Koch <wk@gnupg.org>2002-09-11 09:27:54 +0200
commitc5445cc3239e7654fbaf145c6e697de54093892f (patch)
treefb8e0b6e5018951bd13aade5f46b3444d2fe005c /g10/main.h
parent* exec.c (expand_args): Remove loop left over from earlier implementation. (diff)
downloadgnupg2-c5445cc3239e7654fbaf145c6e697de54093892f.tar.xz
gnupg2-c5445cc3239e7654fbaf145c6e697de54093892f.zip
* 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.
Diffstat (limited to 'g10/main.h')
-rw-r--r--g10/main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/g10/main.h b/g10/main.h
index efb528aed..0d04911d7 100644
--- a/g10/main.h
+++ b/g10/main.h
@@ -64,7 +64,6 @@ int disable_core_dumps(void);
u16 checksum_u16( unsigned n );
u16 checksum( byte *p, unsigned n );
u16 checksum_mpi( MPI a );
-u16 checksum_mpi_counted_nbits( MPI a );
u32 buffer_to_u32( const byte *buffer );
const byte *get_session_marker( size_t *rlen );
int openpgp_cipher_test_algo( int algo );