提交 a69cf800 编写于 作者: W weijun

6875033: regression: test of 6867665 fail

Reviewed-by: xuelei
上级 51c9f1f1
......@@ -23,6 +23,7 @@
/*
* @test
* @bug 6867665
* @bug 6875033
* @summary Problem with keytabs with multiple kvno's (key versions)
*/
......@@ -223,9 +224,6 @@ public class HighestKvno {
KeyTab ktab = KeyTab.getInstance("kt");
PrincipalName pn = new PrincipalName("me@MAD.LOCAL");
EncryptionKey[] keys = ktab.readServiceKeys(pn);
if (keys.length != 9) {
throw new Exception("Count error");
}
if (keys[0].getKeyVersionNumber() != 5) {
throw new Exception("Highest not first");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册