[PATCH] Fix g10/trust.c.
NIIBE Yutaka
gniibe at fsij.org
Thu Mar 6 03:18:06 CET 2014
Hello,
Current master doesn't work well for key generation (it runs forever).
I think that it is due to simple typo in:
commit 62fb86c6589f7f74dad4741db31b3aefa0848420
Author: Werner Koch <wk at gnupg.org>
Date: Mon Feb 10 17:05:54 2014 +0100
gpg: Allow building without any trust model support.
Here's a fix. I'm going to push this fix, as this is obvious.
diff --git a/g10/trust.c b/g10/trust.c
index 32cd934..c8a1c2c 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -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
}
--
More information about the Gnupg-devel
mailing list