commit | 7b3ef3b0b63eee655d6437d66707b7b696b83f7b | [log] [tgz] |
---|---|---|
author | Xiao Yang <yangx.jy@cn.fujitsu.com> | Thu Apr 14 17:22:06 2016 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Thu Apr 14 21:36:10 2016 +0200 |
tree | 6e763ca5005f00c3e189ee6b946c1f63126490b8 | |
parent | 2a9c158efcb4ee6647986097b70b65cb4d9242d1 [diff] |
request_key/request_key02.c: add new testcase 1) request_key(2) fails if no matching key was found and set errno to ENOKEY. 2) request_key(2) fails if a revoked key was found and set errno to EKEYREVOKED. 3) request_key(2) fails if an expired key was found and set errno to EKEYEXPIRED. Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>