summaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-07-29 21:35:05 +0200
committerWerner Koch <wk@gnupg.org>1998-07-29 21:35:05 +0200
commit5ae562b41d9e3ec965643b902bf8593c8ca5a2d7 (patch)
tree059ed09c380b3f534479add19933dbe9a7a401c9 /g10/misc.c
parentchanged trustdb design (diff)
downloadgnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.tar.xz
gnupg2-5ae562b41d9e3ec965643b902bf8593c8ca5a2d7.zip
edit-key is now complete
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c
index ec7c40a1a..6ae065a98 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -98,7 +98,7 @@ checksum_u16( unsigned n )
u16 a;
a = (n >> 8) & 0xff;
- if( opt.emulate_bugs & 1 ) {
+ if( opt.emulate_bugs & EMUBUG_GPGCHKSUM ) {
a |= n & 0xff;
log_debug("csum_u16 emulated for n=%u\n", n);
}
@@ -142,7 +142,7 @@ checksum_mpi( MPI a )
* this stored value if it is still available.
*/
- if( opt.emulate_bugs & 1 )
+ if( opt.emulate_bugs & EMUBUG_GPGCHKSUM )
nbits = 0;
else
nbits = mpi_get_nbit_info(a);