aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_dec.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings.Ben Laurie2010-06-121-2/+1
|
* Update from stable branch.Dr. Stephen Henson2009-03-251-2/+0
|
* Update from stable branch.Dr. Stephen Henson2009-03-251-0/+12
|
* Update from stable branch.Dr. Stephen Henson2009-03-141-9/+21
|
* Revert the size_t modifications from HEAD that had led to moreGeoff Thorpe2008-11-121-3/+2
| | | | | | knock-on work than expected - they've been extracted into a patch series that can be completed elsewhere, or in a different branch, before merging back to HEAD.
* Update obsolete email address...Dr. Stephen Henson2008-11-051-1/+1
|
* size_tification.Ben Laurie2008-11-011-2/+3
|
* More type-checking.Ben Laurie2008-06-041-4/+6
|
* Update from 0.9.7-stable.Dr. Stephen Henson2007-01-231-1/+1
|
* Initial, incomplete support for typesafe macros without using functionDr. Stephen Henson2006-11-161-3/+5
| | | | casts.
* Fix ASN.1 parsing of certain invalid structures that can resultMark J. Cox2006-09-281-0/+1
| | | | in a denial of service. (CVE-2006-2937) [Steve Henson]
* Fix leakDr. Stephen Henson2006-08-311-0/+3
|
* Tolerate a SEQUENCE in DN components.Dr. Stephen Henson2006-02-191-1/+1
|
* p could be uninitializedNils Larsch2006-02-081-1/+7
|
* Ignore zero length constructed segments.Dr. Stephen Henson2006-01-311-1/+1
|
* add additional checks + cleanupNils Larsch2006-01-291-0/+2
| | | | Submitted by: David Hartman <david_hartman@symantec.com>
* Extend callback function to support print customization.Dr. Stephen Henson2005-09-011-4/+4
|
* Fix more error codes.Bodo Möller2005-05-111-14/+14
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* Typo.Dr. Stephen Henson2005-04-301-1/+1
|
* Don't attempt to parse nested ASN1 strings by default.Dr. Stephen Henson2005-04-301-2/+7
|
* Use more efficient way to locate end of an ASN1 structure.Dr. Stephen Henson2005-04-301-4/+59
|
* Make ASN1 code work again...Dr. Stephen Henson2004-04-271-1/+1
|
* More ASN1 reformat/tidy.Dr. Stephen Henson2004-04-251-1/+1
|
* Reformat/tidy some of the ASN1 code.Dr. Stephen Henson2004-04-241-355/+637
|
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-32/+34
| | | | | | | | functions and macros. This change has associated tags: LEVITTE_before_const and LEVITTE_after_const. Those will be removed when this change has been properly reviewed.
* ASN1 parse fix and release file changes.Dr. Stephen Henson2003-09-301-1/+8
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-2/+2
|
* Preliminary streaming ASN1 encode support.Dr. Stephen Henson2002-10-031-0/+1
|
* Reinstate the check for invalid length BIT STRINGS,Dr. Stephen Henson2002-08-231-3/+3
| | | | which was effectively bypassed in the ASN1 changed.
* Shut up compiler warnings for inconsistent declarations.Lutz Jänicke2002-01-291-1/+1
|
* More linker bloat reorganisation:Dr. Stephen Henson2001-07-271-0/+19
| | | | | | | | | | | | | | | | | | | | | Split private key PEM and normal PEM handling. Private key handling needs to link in stuff like PKCS#8. Relocate the ASN1 *_dup() functions, to the relevant ASN1 modules using new macro IMPLEMENT_ASN1_DUP_FUNCTION. Previously these were all in crypto/x509/x_all.c along with every ASN1 BIO/fp function which linked in *every* ASN1 function if a single dup was used. Move the authority key id ASN1 structure to a separate file. This is used in the X509 routines and its previous location linked in all the v3 extension code. Also move ASN1_tag2bit to avoid linking in a_bytes.c which is now largely obsolete. So far under Linux stripped binary with single PEM_read_X509 is now 238K compared to 380K before these changes.
* Fix ASN1 bug when decoding OTHER type.Dr. Stephen Henson2001-04-211-2/+7
| | | | Various S/MIME DSA related fixes.
* Don't use 'tt' uninitialized when reporting an errorBodo Möller2001-04-051-1/+0
| | | | | (we don't have an ASN1_TEMPLATE to complain about at this stage, so errtt == NULL should be OK)
* Rewrite CHOICE field setting code to properly handleDr. Stephen Henson2001-04-021-12/+16
| | | | | | combine in CHOICE options. This was causing d2i_DSAPublicKey() to misbehave.
* Trap an invalid ASN1_ITEM construction and print outDr. Stephen Henson2001-02-251-4/+14
| | | | the errant field for more ASN1 error conditions.
* Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson2001-02-231-4/+4
| | | | | | | | change the way ASN1 modules are exported. Still needs a bit of work for example the hack which a dummy function prototype to avoid compilers warning about multiple ;s.
* Include string.h so mem*() functions get properly declared.Richard Levitte2001-02-201-0/+1
|
* Fix typo in OCSP nonce extension.Dr. Stephen Henson2001-01-041-1/+5
| | | | | | | | | | | | Set correct type in ASN1_STRING for INTEGER and ENUMERATED types. Make ASN1_INTEGER_get() and ASN1_ENUMERATED_get() return -1 for invalid type rather than 0 (which is often valid). -1 may also be valid but this is less likely. Load OCSP error strings in ERR_load_crypto_strings().
* Update OCSP API.Dr. Stephen Henson2001-01-041-3/+9
| | | | | | | | | | | | | | | | | | Remove extensions argument from various functions because it is not needed with the new extension code. New function OCSP_cert_to_id() to convert a pair of certificates into an OCSP_CERTID. New simple OCSP HTTP function. This is rather primitive but just about adequate to send OCSP requests and parse the response. Fix typo in CRL distribution points extension. Fix ASN1 code so it adds a final null to constructed strings.
* Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson2000-12-311-9/+9
| | | | | | | | | | horrible macros. Fix two evil ASN1 bugs. Attempt to use 'ctx' when NULL if input is indefinite length constructed in asn1_check_tlen() and invalid pointer to ASN1_TYPE when reusing existing structure (this took *ages* to find because the new PKCS#12 code triggered it).
* Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson2000-12-211-2/+2
| | | | | | | | | | | | | | Win32 but it is getting there... Update mkdef.pl to handle ASN1_ANY and fix headers. Stop various VC++ warnings. Include some fixes from "Peter 'Luna' Runestig" <peter@runestig.com> Remove external declaration for des_set_weak_key_flag: it doesn't exist.
* Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson2000-12-081-0/+910
to main trunk. Lets see if the makes it to openssl-cvs :-)