directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dran...@apache.org
Subject [3/3] directory-kerby git commit: Merged change
Date Thu, 17 Dec 2015 03:55:50 GMT
Merged change


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

Branch: refs/heads/master
Commit: 178c32535b9f202f29be391a916540ee21dd96f8
Parents: a9cb890
Author: Kai Zheng <kai.zheng@intel.com>
Authored: Thu Dec 17 11:55:30 2015 +0800
Committer: Kai Zheng <kai.zheng@intel.com>
Committed: Thu Dec 17 11:55:30 2015 +0800

----------------------------------------------------------------------
 .../kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/178c3253/kerby-kerb/kerb-core/src/main/test/java/org/apache/kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-core/src/main/test/java/org/apache/kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java
b/kerby-kerb/kerb-core/src/main/test/java/org/apache/kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java
index 2bdac18..2f22d39 100644
--- a/kerby-kerb/kerb-core/src/main/test/java/org/apache/kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java
+++ b/kerby-kerb/kerb-core/src/main/test/java/org/apache/kerby/kerberos/kerb/codec/TestPkinitRsaAsReqCodec.java
@@ -46,12 +46,12 @@ public class TestPkinitRsaAsReqCodec {
     @Test
     public void test() throws IOException, ParseException {
         byte[] bytes = CodecTestUtil.readDataFile("/pkinit_rsa_asreq.token");
-        Asn1.dump(bytes, true);
+        Asn1.parseAndDump(bytes);
         ByteBuffer asReqToken = ByteBuffer.wrap(bytes);
 
         AsReq asReq = new AsReq();
         asReq.decode(asReqToken);
-        //Asn1.dump(asReq, false);
+        //Asn1.decodeAndDump(asReq);
 
         assertThat(asReq.getPvno()).isEqualTo(5);
         assertThat(asReq.getMsgType()).isEqualTo(KrbMessageType.AS_REQ);


Mime
View raw message