--- a/jdk/test/sun/security/krb5/ktab/HighestKvno.java Sun Aug 23 17:20:46 2009 +0100
+++ b/jdk/test/sun/security/krb5/ktab/HighestKvno.java Mon Aug 24 18:37:48 2009 +0800
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6867665
+ * @bug 6875033
* @summary Problem with keytabs with multiple kvno's (key versions)
*/
@@ -223,9 +224,6 @@
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");
}