directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject directory-kerby git commit: Fix parsing of KrbPriv
Date Tue, 08 Jan 2019 09:31:25 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/trunk 8fdde1c4f -> d230d1a51


Fix parsing of KrbPriv

There is no [2] tag, so put ENC_PART at [3] instead of [2].

This closes #31.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/d230d1a5
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/d230d1a5
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/d230d1a5

Branch: refs/heads/trunk
Commit: d230d1a515eace2f461f9979b0e1d99014b496b4
Parents: 8fdde1c
Author: David Walluck <dwalluck@redhat.com>
Authored: Thu Jul 26 10:35:10 2018 -0400
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jan 8 09:25:50 2019 +0000

----------------------------------------------------------------------
 .../src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/d230d1a5/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java
b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java
index 0354783..e5baeb3 100644
--- a/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java
+++ b/kerby-kerb/kerb-core/src/main/java/org/apache/kerby/kerberos/kerb/type/KrbPriv.java
@@ -42,6 +42,7 @@ public class KrbPriv extends KrbMessage {
     protected enum KrbPrivField implements EnumType {
         PVNO,
         MSG_TYPE,
+        UNUSED,
         ENC_PART;
 
         /**
@@ -63,6 +64,7 @@ public class KrbPriv extends KrbMessage {
    static Asn1FieldInfo[] fieldInfos = new Asn1FieldInfo[] {
             new ExplicitField(KrbPriv.KrbPrivField.PVNO, Asn1Integer.class),
             new ExplicitField(KrbPriv.KrbPrivField.MSG_TYPE, Asn1Integer.class),
+            new ExplicitField(KrbPriv.KrbPrivField.UNUSED, null),
             new ExplicitField(KrbPriv.KrbPrivField.ENC_PART, EncryptedData.class)
     };
 


Mime
View raw message