libalpm: fix importing keys from keyserver
commit 95a7d416ce
broke
key_search_keyserver() by removing the `ret = 1` at the end of the
function, causing the caller to allways think the funciton failed even
when it did not. Due to WKD being the primary method to import keys this
was unnoticed.
This commit is contained in:
parent
a0be6f0829
commit
c7cb6e486b
1 changed files with 1 additions and 0 deletions
|
@ -376,6 +376,7 @@ static int key_search_keyserver(alpm_handle_t *handle, const char *fpr,
|
|||
pgpkey->expires = key->subkeys->expires;
|
||||
pgpkey->length = key->subkeys->length;
|
||||
pgpkey->revoked = key->subkeys->revoked;
|
||||
ret = 1;
|
||||
|
||||
gpg_error:
|
||||
if(ret != 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue