KEYS: fix error return code in big_key_instantiate()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 30 Oct 2013 03:23:02 +0000 (11:23 +0800)
committerDavid Howells <dhowells@redhat.com>
Wed, 30 Oct 2013 12:54:29 +0000 (12:54 +0000)
commitd2b86970245b64652c4d7799e707dd8bd1533b64
tree00aaa63cb66c5cfbd595261ba7f5029fbe1326f9
parent034faeb9ef390d58239e1dce748143f6b35a0d9b
KEYS: fix error return code in big_key_instantiate()

Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David Howells <dhowells@redhat.com>
security/keys/big_key.c