Changeset View
Changeset View
Standalone View
Standalone View
b/g10/getkey.c
Context not available. | |||||
/* Remove the last 50% of the entries. */ | /* Remove the last 50% of the entries. */ | ||||
for (ce = pk_cache, n = 0; ce && n < pk_cache_entries/2; n++) | for (ce = pk_cache, n = 0; ce && n < pk_cache_entries/2; n++) | ||||
ce = ce->next; | ce = ce->next; | ||||
if (ce != pk_cache && ce->next) | if (ce && ce != pk_cache && ce->next) | ||||
{ | { | ||||
ce2 = ce->next; | ce2 = ce->next; | ||||
ce->next = NULL; | ce->next = NULL; | ||||
Context not available. | |||||
/* First check for duplicates. */ | /* First check for duplicates. */ | ||||
for (r = user_id_db; r; r = r->next) | for (r = user_id_db; r; r = r->next) | ||||
{ | { | ||||
keyid_list_t b = r->keyids; | keyid_list_t b; | ||||
for (b = r->keyids; b; b = b->next) | for (b = r->keyids; b; b = b->next) | ||||
{ | { | ||||
if (!memcmp (b->fpr, a->fpr, MAX_FINGERPRINT_LEN)) | if (!memcmp (b->fpr, a->fpr, MAX_FINGERPRINT_LEN)) | ||||
Context not available. |