mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* keyedit.c (menu_clean_uids_from_key, menu_clean_subkeys_from_key),
trustdb.c (clean_uids_from_key, clean_subkeys_from_key): Fix mingw32 build warnings. Noted by Joe Vender.
This commit is contained in:
parent
8639e9768e
commit
db8adc2880
@ -1,3 +1,10 @@
|
|||||||
|
2005-05-31 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* keyedit.c (menu_clean_uids_from_key,
|
||||||
|
menu_clean_subkeys_from_key), trustdb.c (clean_uids_from_key,
|
||||||
|
clean_subkeys_from_key): Fix mingw32 build warnings. Noted by Joe
|
||||||
|
Vender.
|
||||||
|
|
||||||
2005-05-31 Werner Koch <wk@g10code.com>
|
2005-05-31 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.
|
* keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.
|
||||||
|
@ -3196,7 +3196,7 @@ menu_clean_uids_from_key(KBNODE keyblock)
|
|||||||
{
|
{
|
||||||
if(node->pkt->pkttype==PKT_USER_ID && is_deleted_kbnode(node))
|
if(node->pkt->pkttype==PKT_USER_ID && is_deleted_kbnode(node))
|
||||||
{
|
{
|
||||||
char *reason;
|
const char *reason;
|
||||||
char *user=utf8_to_native(node->pkt->pkt.user_id->name,
|
char *user=utf8_to_native(node->pkt->pkt.user_id->name,
|
||||||
node->pkt->pkt.user_id->len,0);
|
node->pkt->pkt.user_id->len,0);
|
||||||
|
|
||||||
@ -3231,7 +3231,7 @@ menu_clean_subkeys_from_key(KBNODE keyblock)
|
|||||||
{
|
{
|
||||||
if(node->pkt->pkttype==PKT_PUBLIC_SUBKEY && is_deleted_kbnode(node))
|
if(node->pkt->pkttype==PKT_PUBLIC_SUBKEY && is_deleted_kbnode(node))
|
||||||
{
|
{
|
||||||
char *reason;
|
const char *reason;
|
||||||
|
|
||||||
if(node->pkt->pkt.public_key->is_revoked)
|
if(node->pkt->pkt.public_key->is_revoked)
|
||||||
reason=_("revoked");
|
reason=_("revoked");
|
||||||
|
@ -1683,7 +1683,7 @@ clean_uids_from_key(KBNODE keyblock,int noisy)
|
|||||||
|
|
||||||
if(noisy)
|
if(noisy)
|
||||||
{
|
{
|
||||||
char *reason;
|
const char *reason;
|
||||||
char *user=utf8_to_native(uid->name,uid->len,0);
|
char *user=utf8_to_native(uid->name,uid->len,0);
|
||||||
|
|
||||||
if(uid->is_revoked)
|
if(uid->is_revoked)
|
||||||
@ -1745,7 +1745,7 @@ clean_subkeys_from_key(KBNODE keyblock,int noisy)
|
|||||||
|
|
||||||
if(noisy)
|
if(noisy)
|
||||||
{
|
{
|
||||||
char *reason;
|
const char *reason;
|
||||||
|
|
||||||
if(pk->is_revoked)
|
if(pk->is_revoked)
|
||||||
reason=_("revoked");
|
reason=_("revoked");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user