add pkinit replies
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 17 Sep 2004 23:32:33 +0000 (23:32 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 17 Sep 2004 23:32:33 +0000 (23:32 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12036 f5534014-38df-0310-8fa8-9805f1628bb7

asn1/pkinit/PKINIT.asn
asn1/pkinit/packet-pkinit-template.c
asn1/pkinit/packet-pkinit-template.h

index 88bfe592870fa2f98cdd1c0d91a8a8d125fb155f..12dd24fc6735e12b28d9fa9912aee840d96b5570 100644 (file)
@@ -126,14 +126,14 @@ TrustedCA ::= CHOICE {
 --        ...
 --    }
 --
---
---    PA-PK-AS-REP ::= CHOICE {
---        dhSignedData            [0] ContentInfo,
---        encKeyPack              [1] ContentInfo,
---        ...
---    }
---
---
+
+PaPkAsRep ::= CHOICE {
+      dhSignedData            [0] ContentInfo,
+      encKeyPack              [1] ContentInfo,
+      ...
+}
+
+
 --    KDCDHKeyInfo ::= SEQUENCE {
 --        subjectPublicKey        [0] BIT STRING,
 --        nonce                   [1] INTEGER,
index 711a3611360931d5574542aedf2befc782e023ab..69e205d9e130b9b61c2b12070b7687e229d8dbc6 100644 (file)
@@ -58,6 +58,12 @@ dissect_pkinit_PA_PK_AS_REQ(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb,
   return offset;
 }
 
+int
+dissect_pkinit_PA_PK_AS_REP(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
+  offset = dissect_pkinit_PaPkAsRep(FALSE, tvb, offset, pinfo, tree, -1);
+  return offset;
+}
+
 
 /*--- proto_register_pkinit ----------------------------------------------*/
 void proto_register_pkinit(void) {
index 9578a1fb58cfb36cb817d08dfc1bd3ea967fb409..359982e91ca43fc77c54e880c04356f07ab69b2e 100644 (file)
@@ -26,6 +26,7 @@
 #define PACKET_PKINIT_H
 
 int dissect_pkinit_PA_PK_AS_REQ(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset);
+int dissect_pkinit_PA_PK_AS_REP(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset);
 
 /*#include "packet-pkinit-exp.h"*/