aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-26 08:57:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-26 08:57:26 +0000
commitb067f1df01f5b29d51f057cd4603eb5e407ec6c4 (patch)
treeed519a40782b35a6f94dc204f5035b801747df3a /asn1
parentc4fe9a28ca8281d11facbcdf908aa9391309891e (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 svn path=/trunk/; revision=35656
Diffstat (limited to 'asn1')
-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 */