aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ocsp
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-26 08:57:26 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2011-01-26 08:57:26 +0000
commit22d5c42f796fce47034888f2e7f024faadae6c69 (patch)
treeed519a40782b35a6f94dc204f5035b801747df3a /asn1/ocsp
parent03cf05e64d8dbcab4b430bbfcee4afd69d213758 (diff)
From Kaspar Brand:
(Part II) SSL/TLS dissector: add support for "Certificate Status" messages (aka OCSP stapling) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5503 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35656 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1/ocsp')
-rw-r--r--asn1/ocsp/packet-ocsp-template.c2
-rw-r--r--asn1/ocsp/packet-ocsp-template.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/asn1/ocsp/packet-ocsp-template.c b/asn1/ocsp/packet-ocsp-template.c
index 0fa32c5f48..461e35d3e1 100644
--- a/asn1/ocsp/packet-ocsp-template.c
+++ b/asn1/ocsp/packet-ocsp-template.c
@@ -44,7 +44,7 @@
#define PFNAME "ocsp"
/* Initialize the protocol and registered fields */
-static int proto_ocsp = -1;
+proto_ocsp = -1;
static int hf_ocsp_responseType_id = -1;
#include "packet-ocsp-hf.c"
diff --git a/asn1/ocsp/packet-ocsp-template.h b/asn1/ocsp/packet-ocsp-template.h
index 9ee7bcd8dd..7331ca5346 100644
--- a/asn1/ocsp/packet-ocsp-template.h
+++ b/asn1/ocsp/packet-ocsp-template.h
@@ -28,5 +28,8 @@
/*#include "packet-ocsp-exp.h"*/
+extern int proto_ocsp;
+int dissect_ocsp_OCSPResponse(gboolean implicit_tag, tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index);
+
#endif /* PACKET_OCSP_H */