encrypted_keys: avoid dumping the master key if the request fails
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 27 Jun 2011 11:45:39 +0000 (13:45 +0200)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 27 Jun 2011 13:08:39 +0000 (09:08 -0400)
commitf91c2c5cfa2950a20265b45bcc13e49ed9e49aac
treef5ed8f02cc44dfe9274440c8cdcd50b4345621e6
parent4d67431f80b1b822f0286afc9123ee453eac7334
encrypted_keys: avoid dumping the master key if the request fails

Do not dump the master key if an error is encountered during the request.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/keys/encrypted.c