mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* tdbio.c (tdbio_read_record, tdbio_write_record): Compact the
RECTYPE_TRUST records a bit. * g10.c (main): Comment out --list-trust-path until it can be implemented. * import.c (import_one): Warn when importing an Elgamal primary that this may take some time (to verify self-sigs). (chk_self_sigs): Try and cache all self-sigs so the keyblock is written to the keyring with a good rich cache. * keygen.c (ask_algo): Make the Elgamal sign+encrypt warning stronger, and remove the RSA sign+encrypt warning.
This commit is contained in:
parent
488b8dadba
commit
eb9607707e
5 changed files with 46 additions and 15 deletions
|
@ -1210,9 +1210,9 @@ tdbio_read_record( ulong recnum, TRUSTREC *rec, int expected )
|
|||
memcpy( rec->r.trust.fingerprint, p, 20); p+=20;
|
||||
rec->r.trust.ownertrust = *p++;
|
||||
rec->r.trust.depth = *p++;
|
||||
p += 2;
|
||||
rec->r.trust.validlist = buftoulong(p); p += 4;
|
||||
rec->r.trust.min_ownertrust = *p++;
|
||||
p++;
|
||||
rec->r.trust.validlist = buftoulong(p); p += 4;
|
||||
break;
|
||||
case RECTYPE_VALID:
|
||||
memcpy( rec->r.valid.namehash, p, 20); p+=20;
|
||||
|
@ -1290,9 +1290,9 @@ tdbio_write_record( TRUSTREC *rec )
|
|||
memcpy( p, rec->r.trust.fingerprint, 20); p += 20;
|
||||
*p++ = rec->r.trust.ownertrust;
|
||||
*p++ = rec->r.trust.depth;
|
||||
p += 2;
|
||||
ulongtobuf( p, rec->r.trust.validlist); p += 4;
|
||||
*p++ = rec->r.trust.min_ownertrust;
|
||||
p++;
|
||||
ulongtobuf( p, rec->r.trust.validlist); p += 4;
|
||||
break;
|
||||
|
||||
case RECTYPE_VALID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue