From b067f1df01f5b29d51f057cd4603eb5e407ec6c4 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 26 Jan 2011 08:57:26 +0000 Subject: 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 --- asn1/ocsp/packet-ocsp-template.c | 2 +- asn1/ocsp/packet-ocsp-template.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'asn1') 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 */ -- cgit v1.2.3