Jakub Zawadzki
83adc2d745
Fix off by one shift error introduced in r39531.
...
In tvb_get_ephemeral_unicode_string() length is number of bytes (not characters).
svn path=/trunk/; revision=41903
2012-04-03 09:28:58 +00:00
Bill Meier
b0e7a54741
Replace use of tvb_get_ephemeral_faked_unicode() by use of tvb_get_ephemeral_unicode_string();
...
Fix encoding arg.
svn path=/trunk/; revision=39531
2011-10-23 23:13:57 +00:00
Jeff Morriss
b21b495f9f
Don't generate the conformance file for exported types when building the
...
dissector; instead built it only when the separate target (generate_export)
is built.
Built generate_export when building "all".
This prevents the exp_*.cnf files from being regenerated each time another one
of the exp_*.cnf files (which the current dissector depends on) has changed
(despite the fact that the exported types does not depe
Also fix the CLEANFILES definition so it actually cleans things.
svn path=/trunk/; revision=39421
2011-10-14 10:22:01 +00:00
Jeff Morriss
cf012d27b1
Build the ASN.1 dissectors directly into epan/dissectors (rather than building
...
them and then copying them over). The "all" target to builds these dissectors
now (instead of "generate_files" and/or "copy_files").
asn2wrs's "-O" option now means "the dissector goes in this directory" (rather
than "all output goes in this directory"); it also means that the "-s" (single
output file) option is now required.
Fix things up so that it's possible to build all of the ASN.1 dissectors in
one shot.
Fix building of conformance files when doing out-of-source-tree builds.
Unfortunately "make all" in the asn1 directory always builds something--I think
because of circular depedencies.
svn path=/trunk/; revision=39333
2011-10-10 02:31:11 +00:00
Stig Bjørlykke
5868c7d026
Renamed x411 to p1, x420 to p22 and s4406 to p772 to be consistent
...
on the naming policy for X.400 protocols.
svn path=/trunk/; revision=36013
2011-02-20 17:03:29 +00:00
Stig Bjørlykke
ea7db26373
Added some missing elements from MS Certificate:
...
- Previous Cert Hash
- Virtual Base
- Next Publisher
svn path=/trunk/; revision=33695
2010-08-03 08:55:07 +00:00
Graeme Lunt
5aa05c8559
New "#.SYNTAX" section for the asn2wrs conformance file.
...
This allows syntaxes to be registered separately from PDUs.
Within the new section, the ASN.1 types to be used as syntaxes should be iterated.
An optional second parameter on each line may be provided to provide an alternative name for the syntax (that the user will see). This name must be in double quotes.
svn path=/trunk/; revision=33370
2010-06-29 12:16:10 +00:00
Graeme Lunt
0d9ad5016e
Remove the -R flag (used to generate syntax registrations) and replace with a
...
packet-<proto>-syn-reg.c output file. This is more generic and allows the
syntax registrations to the directed from the template file.
svn path=/trunk/; revision=33342
2010-06-28 09:26:41 +00:00
Stig Bjørlykke
7a44c166ba
Build dependency to x411.
...
svn path=/trunk/; revision=33314
2010-06-24 13:40:47 +00:00
Graeme Lunt
1392185eba
Update to register basic ASN.1 syntaxes.
...
svn path=/trunk/; revision=33299
2010-06-23 11:07:08 +00:00
Graeme Lunt
e4fbebc044
CA Version certificate extension
...
svn path=/trunk/; revision=33049
2010-06-02 14:58:42 +00:00
Bill Meier
9ade30a7b1
#include <string.h> and/or #include <stdio.h> not needed.
...
svn path=/trunk/; revision=32417
2010-04-07 16:54:29 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Stig Bjørlykke
72d1cd92de
Corrected OID for organizationalUnit.
...
svn path=/trunk/; revision=31096
2009-11-27 14:58:43 +00:00
Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Kovarththanan Rajaratnam
7ab993bee7
Remove unused NEED_PACKET_PROTO_H variable
...
svn path=/trunk/; revision=30409
2009-10-08 17:26:57 +00:00
Graeme Lunt
21a230d14c
Bug 2833:
...
Naming attributes in subject DNs defined for Extended Validation Certificates
http://www.cabforum.org/EV_Certificate_Guidelines_draft11.pdf
svn path=/trunk/; revision=28746
2009-06-15 19:43:29 +00:00
Graeme Lunt
63ec29238c
Microsoft PKCS#12 local machine keyset bag attribute
...
svn path=/trunk/; revision=28641
2009-06-05 12:04:24 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Tomas Kukosa
4726aec5b0
fix problem with X.411 asn2wrs compilation, all dissectors regenerated
...
svn path=/trunk/; revision=26740
2008-11-10 13:36:24 +00:00
Anders Broman
612463c139
Try to fix some "defined but not used" warnings.
...
svn path=/trunk/; revision=26243
2008-09-21 14:23:34 +00:00
Anders Broman
8970b4524d
Try to fix unused code warnings.
...
svn path=/trunk/; revision=26111
2008-09-02 06:04:25 +00:00
Anders Broman
9d0a401a12
Try to fix unused code warnings.
...
svn path=/trunk/; revision=26110
2008-09-02 05:43:28 +00:00
Anders Broman
89f82718ac
Get rid of some unused code warnings.
...
svn path=/trunk/; revision=25804
2008-07-23 13:26:43 +00:00
Anders Broman
8a59a33405
Get rid of some unused code warnings. Hopefully without breaking anything.
...
svn path=/trunk/; revision=25651
2008-07-01 20:53:22 +00:00
Graeme Lunt
9bd868fae7
Support for RFC 4530 - LDAP entryUUID attribute.
...
svn path=/trunk/; revision=24984
2008-04-13 16:14:03 +00:00
Gerald Combs
7f097fdc9b
Make sure we initialize a TVB. Fixes bug 2329.
...
svn path=/trunk/; revision=24543
2008-03-03 22:28:35 +00:00
Anders Broman
a6d82ae12e
Get rid of ber_last_created_item().
...
svn path=/trunk/; revision=24008
2008-01-04 12:39:52 +00:00
Graeme Lunt
c68b8c3d6f
An X.420 message store attribute and an X.420 heading extension.
...
svn path=/trunk/; revision=23982
2008-01-02 09:36:38 +00:00
Jörg Mayer
3d22aa561b
asn1/*/Makefile.nmake were not part of the source package.
...
Spotted by Tomas Kukosa.
svn path=/trunk/; revision=23921
2007-12-19 10:02:50 +00:00
Tomas Kukosa
1e794fc494
ANSI TCAP regenerated and tested with -T -X asn2wrs options
...
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior
remove all -T and -X usage
svn path=/trunk/; revision=23823
2007-12-10 08:35:41 +00:00
Anders Broman
3b1f0881e2
Update to use the -X and -T asn2wrs flags.
...
svn path=/trunk/; revision=23366
2007-11-05 20:41:44 +00:00
Anders Broman
7329ae8ac6
Use oid_add_from_string for adding names.
...
fix compil of gsmmap and inap.
Note xcopy of gsmmap does not work(rename packet-gsm_map -> packet-gsmmap ?)
svn path=/trunk/; revision=23325
2007-10-31 23:11:15 +00:00
Jörg Mayer
c2d0c8fa31
- Fix svn:ignore for all directories
...
- gsmmap: uncomment -s option in gsmmap.cnf
- Fix cyclic dependencies:
+ Remove EXPORT_CNF from dependencies for cnf files
+ Replace all INCLUDE ...-exp.cnf with IMPORT ...-exp.cnf
svn path=/trunk/; revision=23202
2007-10-16 13:59:40 +00:00
Jörg Mayer
0e0bed500d
- Remove -e option if the generated -exp.cnf file isn't used.
...
- Add EXPORT_FILES to all files that still contain -e.
svn path=/trunk/; revision=23145
2007-10-11 05:27:27 +00:00
Jörg Mayer
060e9ed954
Add missing dependencies and update syntax of existing ones.
...
svn path=/trunk/; revision=23143
2007-10-10 22:26:40 +00:00
Jörg Mayer
61cde0d09e
- Change Makefiles to include preinc
...
- Add missing new directories to asn1/Makefile.nmake
svn path=/trunk/; revision=23141
2007-10-10 19:03:24 +00:00
Jörg Mayer
868825629a
Finish conversion (well, almost, need to add the
...
generation stuff to the x.../Makefile.common.
I love circular dependencies.
svn path=/trunk/; revision=23138
2007-10-10 17:57:33 +00:00
Luis Ontanon
00c5e48a17
get users of oid_resolv to use the new oids, rollout packet-snmp.c
...
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Graeme Lunt
4d708c7260
Faked BMP string display.
...
svn path=/trunk/; revision=22536
2007-08-17 19:16:51 +00:00
Anders Broman
c01f382974
Second step in introducing asn context to BER dissectors just like in PER.
...
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Tomas Kukosa
a70a1b3eb6
EXTERNAL type is handled in asn2wrs now
...
private implementations were renamed EXTERNAL -> EXTERNALt
svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +00:00
Graeme Lunt
e9aa0abd32
Support for:
...
RFC2247 objectclasses and attributes (specifically "dc")
Microsoft-defined User Principal Name subjectAltName extension (used in certificates)
svn path=/trunk/; revision=21150
2007-03-23 16:44:08 +00:00
Graeme Lunt
7edc7aea68
Definition of a per-recipient extension to prevent failure of dissection.
...
(Don't know what the extension actually is.)
svn path=/trunk/; revision=20584
2007-01-28 10:15:46 +00:00
Graeme Lunt
7d3a4e9264
New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.
...
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson).
Wiki page and sample file to follow.
svn path=/trunk/; revision=20416
2007-01-13 15:26:13 +00:00
Ulf Lamping
647533a5ef
put every python script name into "" so the call won't fail on Win32 native python.
...
The problem is the slash in e.g.:
@$(PYTHON) ../../tools/make-dissector-reg.py
is interpreted as an option instead of being part of the path.
I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.
svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00
Tomas Kukosa
56d7db0c08
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
...
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Tomas Kukosa
604000a6b3
- remove some #.MODULE_IMPORT from .cng files
...
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs
svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Tomas Kukosa
55600fb60a
Ethereal -> Wireshark
...
asn2eth -> asn2wrs
svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Tomas Kukosa
62da958bd9
- asn2eth renamed to asn2wrs
...
- remove obsolete -X option from makefiles
- not generate enumerated map table for BER
dissector will be regenerated later
svn path=/trunk/; revision=18199
2006-05-21 14:36:05 +00:00