summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8e4c160)
We don't use curkey once we've found the key, so there's no need to set
it here.
if (get_fingerprint(curkey->publickey, &fp) == ONAK_E_OK) {
if (fingerprint_cmp(fingerprint, &fp) == 0) {
*newkey = curkey;
if (get_fingerprint(curkey->publickey, &fp) == ONAK_E_OK) {
if (fingerprint_cmp(fingerprint, &fp) == 0) {
*newkey = curkey;
(*newkey)->next = NULL;
count = 1;
break;
(*newkey)->next = NULL;
count = 1;
break;