diff options
author | David Shaw <[email protected]> | 2003-12-17 23:04:53 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-12-17 23:04:53 +0000 |
commit | 7847eae02c14adae19b69a329ecf1ee17b7eda1d (patch) | |
tree | e4a10de8f235b118d05b767056e649cf4d613d0e /g10/options.h | |
parent | * mpiutil.c (mpi_set_opaque, mpi_get_opaque): Make the length of an opaque (diff) | |
download | gnupg-7847eae02c14adae19b69a329ecf1ee17b7eda1d.tar.gz gnupg-7847eae02c14adae19b69a329ecf1ee17b7eda1d.zip |
* build-packet.c (write_fake_data, do_secret_key), seckey-cert.c
(do_check): Use an unsigned length for mpi_get_opaque.
* options.h: It's impolite to assign -1 to an unsigned
opt.force_ownertrust.
Diffstat (limited to '')
-rw-r--r-- | g10/options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/options.h b/g10/options.h index 7f7585f55..0832abf21 100644 --- a/g10/options.h +++ b/g10/options.h @@ -97,7 +97,7 @@ struct { { TM_CLASSIC=0, TM_PGP=1, TM_EXTERNAL=2, TM_ALWAYS, TM_AUTO } trust_model; - unsigned int force_ownertrust; + int force_ownertrust; enum { CO_GNUPG=0, CO_RFC2440, CO_RFC1991, CO_PGP2, CO_PGP6, CO_PGP7, CO_PGP8 |