commit | 1d6d167c2efcfe9539d9cffb1a1be9c92e39c2c0 | [log] [tgz] |
---|---|---|
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | Thu Jan 07 07:46:36 2016 -0500 |
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | Thu Jan 07 12:56:42 2016 -0500 |
tree | f875b8a19d539701b31ea4ffce40eee77c701103 | |
parent | 6427e6c71c8b374761b661c4f355762794c171a1 [diff] |
KEYS: refcount bug fix This patch fixes the key_ref leak, removes the unnecessary KEY_FLAG_KEEP test before setting the flag, and cleans up the if/then brackets style introduced in commit: d3600bc KEYS: prevent keys from being removed from specified keyrings Reported-by: David Howells <dhowells@redhat.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Acked-by: David Howells <dhowells@redhat.com>