--- a/jdk/src/share/classes/sun/security/krb5/internal/crypto/CksumType.java Sat Oct 27 09:18:29 2012 +0100
+++ b/jdk/src/share/classes/sun/security/krb5/internal/crypto/CksumType.java Mon Oct 29 14:14:06 2012 +0800
@@ -126,10 +126,10 @@
int cksumType = Checksum.CKSUMTYPE_RSA_MD5; // default
try {
Config c = Config.getInstance();
- if ((cksumType = (c.getType(c.getDefault("ap_req_checksum_type",
- "libdefaults")))) == - 1) {
- if ((cksumType = c.getType(c.getDefault("checksum_type",
- "libdefaults"))) == -1) {
+ if ((cksumType = (Config.getType(c.get("libdefaults",
+ "ap_req_checksum_type")))) == - 1) {
+ if ((cksumType = Config.getType(c.get("libdefaults",
+ "checksum_type"))) == -1) {
cksumType = Checksum.CKSUMTYPE_RSA_MD5; // default
}
}