1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Fix g10/trust.c.

* g10/trust.c (register_trusted_keyid, register_trusted_key)
(update_ownertrust): Call functions with tdb_.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2014-03-06 16:23:10 +09:00
parent 0f38c87f42
commit 5ed8e9335f

View File

@ -55,7 +55,7 @@ register_trusted_keyid (u32 *keyid)
#ifdef NO_TRUST_MODELS
(void)keyid;
#else
register_trusted_keyid (keyid);
tdb_register_trusted_keyid (keyid);
#endif
}
@ -66,7 +66,7 @@ register_trusted_key (const char *string)
#ifdef NO_TRUST_MODELS
(void)string;
#else
register_trusted_key (string);
tdb_register_trusted_key (string);
#endif
}
@ -247,7 +247,7 @@ update_ownertrust (PKT_public_key *pk, unsigned int new_trust)
(void)pk;
(void)new_trust;
#else
update_ownertrust (pk, new_trust);
tdb_update_ownertrust (pk, new_trust);
#endif
}