Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123150
b: refs/heads/master
c: eca1bf5
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and James Morris committed Dec 29, 2008
1 parent 36c1417 commit a842481
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c92ec8ae91ecf59d88c798301833d7cf83f2179
refs/heads/master: eca1bf5b4fab56d2feb1572d34d59fcd92ea7df3
6 changes: 3 additions & 3 deletions trunk/security/keys/keyctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,11 @@ static long get_instantiation_keyring(key_serial_t ringid,
{
key_ref_t dkref;

*_dest_keyring = NULL;

/* just return a NULL pointer if we weren't asked to make a link */
if (ringid == 0) {
*_dest_keyring = NULL;
if (ringid == 0)
return 0;
}

/* if a specific keyring is nominated by ID, then use that */
if (ringid > 0) {
Expand Down

0 comments on commit a842481

Please sign in to comment.