You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by co...@apache.org on 2019/12/16 12:49:34 UTC

[directory-kerby] branch trunk updated: Fixing the previous commit

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/directory-kerby.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 6afe8bc  Fixing the previous commit
6afe8bc is described below

commit 6afe8bcc77fe2e8082416f31ee5532bdb6758465
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Mon Dec 16 12:49:18 2019 +0000

    Fixing the previous commit
---
 .../org/apache/kerby/kerberos/kerb/preauth/pkinit/PkinitCrypto.java     | 2 +-
 .../apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/PkinitCrypto.java b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/PkinitCrypto.java
index b3346f9..6c8134d 100644
--- a/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/PkinitCrypto.java
+++ b/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/preauth/pkinit/PkinitCrypto.java
@@ -175,7 +175,7 @@ public class PkinitCrypto {
             LOG.error("bad g dhparameter");
             return false;
         }
-        LOG.info("Good dhparams %d", dh1.getP().bitLength());
+        LOG.info("Good dhparams {}", dh1.getP().bitLength());
         return true;
     }
 
diff --git a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
index e4e8163..aaf303c 100644
--- a/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
+++ b/kerby-kerb/kerb-server/src/main/java/org/apache/kerby/kerberos/kerb/server/preauth/pkinit/PkinitPreauth.java
@@ -204,7 +204,7 @@ public class PkinitPreauth extends AbstractPreauthPlugin {
                 expectedCheckSum = CheckSumUtil.makeCheckSum(CheckSumType.NIST_SHA,
                         reqBodyBytes);
             } catch (KrbException e) {
-                LOG.error("Unable to calculate AS REQ checksum. %s", e.getMessage());
+                LOG.error("Unable to calculate AS REQ checksum. {}", e.getMessage());
             }
             byte[] receivedCheckSumByte = pkAuthenticator.getPaChecksum();