commit | 898de7d0f298e53568891f0ec3547b14fe8bb5d5 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Tue Apr 12 19:54:58 2016 +0100 |
committer | David Howells <dhowells@redhat.com> | Tue Apr 12 19:54:58 2016 +0100 |
tree | 90fb64dc5d8158417b7de658d8b0016d54264056 | |
parent | 93da17b18539cb021f1075f8620ee8f6da9b42aa [diff] |
KEYS: user_update should use copy of payload made during preparsing The payload preparsing routine for user keys makes a copy of the payload provided by the caller and stashes it in the key_preparsed_payload struct for ->instantiate() or ->update() to use. However, ->update() takes another copy of this to attach to the keyring. ->update() should be using this directly and clearing the pointer in the preparse data. Signed-off-by: David Howells <dhowells@redhat.com>