summaryrefslogtreecommitdiffstats
path: root/g10/tdbio.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-10-18 17:21:22 +0200
committerWerner Koch <wk@gnupg.org>1998-10-18 17:21:22 +0200
commit6e1629686442f357146cce4052a5fa4afd59d232 (patch)
treec6c7a5df241142ecd0797702a7bf6c3bfc8b6a33 /g10/tdbio.c
parent. (diff)
downloadgnupg2-6e1629686442f357146cce4052a5fa4afd59d232.tar.xz
gnupg2-6e1629686442f357146cce4052a5fa4afd59d232.zip
Snapshot release 0.4.2V0-4-2
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r--g10/tdbio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c
index 425919338..5c1b7f427 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -962,7 +962,7 @@ tdbio_read_record( ulong recnum, TRUSTREC *rec, int expected )
rc = G10ERR_TRUSTDB;
}
break;
- case RECTYPE_CACH: /* cache record (FIXME)*/
+ case RECTYPE_CACH: /* cache record */
rec->r.cache.lid = buftoulong(p); p += 4;
memcpy(rec->r.cache.blockhash, p, 20); p += 20;
rec->r.cache.trustlevel = *p++;
@@ -990,7 +990,6 @@ tdbio_read_record( ulong recnum, TRUSTREC *rec, int expected )
/****************
* Write the record at RECNUM
- * FIXME: create/update keyhash record.
*/
int
tdbio_write_record( TRUSTREC *rec )
@@ -1081,7 +1080,7 @@ tdbio_write_record( TRUSTREC *rec )
ulongtobuf( p, rec->r.sdir.hintlist );
break;
- case RECTYPE_CACH: /* FIXME*/
+ case RECTYPE_CACH:
ulongtobuf(p, rec->r.cache.lid); p += 4;
memcpy(p, rec->r.cache.blockhash, 20); p += 20;
*p++ = rec->r.cache.trustlevel;