aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ocsp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-26 08:49:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-26 08:49:06 +0000
commitc4fe9a28ca8281d11facbcdf908aa9391309891e (patch)
tree5bdbf9af38cec945f8fb5c03073f89cb6dce5fff /epan/dissectors/packet-ocsp.c
parentcf1bb441058aa286e0223de976ef99592722e925 (diff)
From Kaspar Brand:
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=35655
Diffstat (limited to 'epan/dissectors/packet-ocsp.c')
-rw-r--r--epan/dissectors/packet-ocsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ocsp.c b/epan/dissectors/packet-ocsp.c
index 7e77306691..02f6c0683d 100644
--- a/epan/dissectors/packet-ocsp.c
+++ b/epan/dissectors/packet-ocsp.c
@@ -52,7 +52,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;
/*--- Included file: packet-ocsp-hf.c ---*/
@@ -321,7 +321,7 @@ dissect_ocsp_T_responseType(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int of
static int
dissect_ocsp_T_response(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
-#line 37 "ocsp.cnf"
+#line 38 "ocsp.cnf"
gint8 class;
gboolean pc, ind;
gint32 tag;
@@ -358,7 +358,7 @@ static const ber_sequence_t OCSPResponse_sequence[] = {
{ NULL, 0, 0, 0, NULL }
};
-static int
+int
dissect_ocsp_OCSPResponse(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
OCSPResponse_sequence, hf_index, ett_ocsp_OCSPResponse);