aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ocsp.c
AgeCommit message (Collapse)AuthorFilesLines
2015-12-10Convert ASN.1 dissectors to remove "new" from "new-style" dissector function ↵Michael Mann1-7/+7
names that were generated from asn2wrs.py This includes: 1. new_create_dissector_handle -> create_dissector_handle 2. new_register_dissector -> register_dissector 3. new_register_ber_oid_dissector -> register_ber_oid_dissector 4. new_register_ber_syntax_dissector -> register_ber_syntax_dissector Also remove PDU_NEW, SYNTAX_NEW and REGISTER_NEW as there is no need for the distinction anymore. Change-Id: I82c7de7c8ffeeab3259d1b55bb4afc5f6a1e0329 Reviewed-on: https://code.wireshark.org/review/12491 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-12-09"new" dissector API -> dissector API for ASN.1 dissectors.Michael Mann1-2/+2
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220 Reviewed-on: https://code.wireshark.org/review/12480 Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-09-06OCSP: get rid of an evil global variablePascal Quantin1-11/+15
Bug: 11505 Change-Id: I87cc676426dceed05a9a95bb515c4fb2535ac9c5 Reviewed-on: https://code.wireshark.org/review/10400 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-12-23asn1 generated dissectors: cleanup #include usageBill Meier1-7/+6
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387 Reviewed-on: https://code.wireshark.org/review/6008 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-10-13ASN1: Register PDU-dissectors as NEWStig Bjørlykke1-21/+35
Change-Id: I1a317b19d8076588c9305dae6287bb80cc14da64 Reviewed-on: https://code.wireshark.org/review/4494 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-03-15Remove unused const variables errors seen with recent Clang versionPascal Quantin1-6/+1
Fixes bug 9886 Change-Id: I8624ef1c5874aea5521d21c998510fc29c838936 Reviewed-on: https://code.wireshark.org/review/657 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-9/+7
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2013-12-08- Forward declaration of register functions.Anders Broman1-6/+9
svn path=/trunk/; revision=53859
2013-10-31Add a data parameter to call_ber_oid_callback to be able to pass data to ↵Michael Mann1-1/+1
subdissectors found with dissector_try_string_new. The intention is to aid in the removal of pinfo->private_data use as well as static global variables in a dissector. For now, all calls to call_ber_oid_callback have the data parameter set to NULL. svn path=/trunk/; revision=52994
2013-09-12dissect OCSP nonce extensionMartin Kaiser1-1/+22
some minor reformatting of the ASN.1 imports svn path=/trunk/; revision=51987
2013-06-20Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8799 :Pascal Quantin1-2/+2
Display certificate as UINT64 and add support for a 64bits unsigned value in BER dissector svn path=/trunk/; revision=50096
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-18/+18
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-19From beroset:Anders Broman1-2/+2
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-6/+6
svn path=/trunk/; revision=45110
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-09-10Regenerate all asn.1 dissectors.Jakub Zawadzki1-2/+2
svn path=/trunk/; revision=44861
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-05-13Regenerate ASN.1 dissectors to update the #line directive.Stig Bjørlykke1-14/+14
svn path=/trunk/; revision=37118
2011-01-26packet-ocsp-template.c:47: warning: type defaults to 'int' in declaration of ↵Anders Broman1-1/+1
'proto_ocsp' svn path=/trunk/; revision=35657
2011-01-26From Kaspar Brand:Anders Broman1-3/+3
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
2010-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-3/+3
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few more of the ASN.1 dissectorsJeff Morriss1-51/+51
svn path=/trunk/; revision=32745
2010-04-07#include <string.h> and/or #include <stdio.h> not needed.Bill Meier1-7/+6
svn path=/trunk/; revision=32417
2010-04-06#include <stdio.h> not needed.Bill Meier1-7/+6
svn path=/trunk/; revision=32405
2009-10-09Regenerate asn1 dissectors (no change, only some line offset changes)Kovarththanan Rajaratnam1-3/+3
svn path=/trunk/; revision=30454
2009-09-24Remove check_col() guardKovarththanan Rajaratnam1-6/+2
svn path=/trunk/; revision=30124
2009-09-23Don't col_clear() followed by col_set_str(). A col_set_str() will clear ↵Kovarththanan Rajaratnam1-4/+0
(replace) any existing string (the fence still needs to be respected though) svn path=/trunk/; revision=30086
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-6/+6
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-5/+5
svn path=/trunk/; revision=28379
2008-11-10fix problem with X.411 asn2wrs compilation, all dissectors regeneratedTomas Kukosa1-1/+1
svn path=/trunk/; revision=26740
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-4/+4
svn path=/trunk/; revision=26670
2008-10-30Add id-pkix-ocsp-nocheck.Anders Broman1-3/+14
Fixes bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3015 svn path=/trunk/; revision=26631
2008-01-04Get rid of dissect_ber_boolean_value() and change the signature ofAnders Broman1-1/+1
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015
2007-11-04Update do use the -X and -T asn2wrs flags.Anders Broman1-265/+127
svn path=/trunk/; revision=23359
2007-08-25get users of oid_resolv to use the new oids, rollout packet-snmp.cLuis Ontanon1-1/+1
svn path=/trunk/; revision=22651
2007-05-22Prepare for the use of the new -X parameter for BER encoded protocols.Anders Broman1-59/+59
svn path=/trunk/; revision=21889
2007-05-15actx in the rest of dissect_ber..()lAnders Broman1-13/+13
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman1-171/+186
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-45/+45
svn path=/trunk/; revision=21705
2007-05-03EXTERNAL type is handled in asn2wrs nowTomas Kukosa1-1/+1
private implementations were renamed EXTERNAL -> EXTERNALt svn path=/trunk/; revision=21662
2007-03-21change the signature that asn2wrs generates for functions to marm all ↵Ronnie Sahlberg1-84/+84
parameters as _U_ to reduce the number of compiler warnings. update some template and cnf files to use _U_ as well svn path=/trunk/; revision=21088
2006-08-16ASN.1 dissectors regenerated with new asn2wrs to get updated field blurbTomas Kukosa1-50/+50
svn path=/trunk/; revision=18921
2006-05-24- remove some #.MODULE_IMPORT from .cng filesTomas Kukosa1-4/+4
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs svn path=/trunk/; revision=18217
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-3/+3
svn path=/trunk/; revision=18196
2005-12-08Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.Guy Harris1-15/+18
svn path=/trunk/; revision=16736
2005-11-14 - dissect_ber_object_identifier() returns value as tvbTomas Kukosa1-7/+4
- new dissect_ber_object_identifier_str() function - BER dissectors adapted and regenerated svn path=/trunk/; revision=16501