summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/tasn_dec.c
AgeCommit message (Collapse)Author
2010-06-12Fix warnings.Ben Laurie
2009-03-25Update from stable branch.Dr. Stephen Henson
2009-03-25Update from stable branch.Dr. Stephen Henson
2009-03-14Update from stable branch.Dr. Stephen Henson
2008-11-12Revert the size_t modifications from HEAD that had led to moreGeoff Thorpe
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.
2008-11-05Update obsolete email address...Dr. Stephen Henson
2008-11-01size_tification.Ben Laurie
2008-06-04More type-checking.Ben Laurie
2007-01-23Update from 0.9.7-stable.Dr. Stephen Henson
2006-11-16Initial, incomplete support for typesafe macros without using functionDr. Stephen Henson
casts.
2006-09-28Fix ASN.1 parsing of certain invalid structures that can resultMark J. Cox
in a denial of service. (CVE-2006-2937) [Steve Henson]
2006-08-31Fix leakDr. Stephen Henson
2006-02-19Tolerate a SEQUENCE in DN components.Dr. Stephen Henson
2006-02-08p could be uninitializedNils Larsch
2006-01-31Ignore zero length constructed segments.Dr. Stephen Henson
2006-01-29add additional checks + cleanupNils Larsch
Submitted by: David Hartman <david_hartman@symantec.com>
2005-09-01Extend callback function to support print customization.Dr. Stephen Henson
2005-05-11Fix more error codes.Bodo Möller
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
2005-04-30Typo.Dr. Stephen Henson
2005-04-30Don't attempt to parse nested ASN1 strings by default.Dr. Stephen Henson
2005-04-30Use more efficient way to locate end of an ASN1 structure.Dr. Stephen Henson
2004-04-27Make ASN1 code work again...Dr. Stephen Henson
2004-04-25More ASN1 reformat/tidy.Dr. Stephen Henson
2004-04-24Reformat/tidy some of the ASN1 code.Dr. Stephen Henson
2004-03-15Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte
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.
2003-09-30ASN1 parse fix and release file changes.Dr. Stephen Henson
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-10-03Preliminary streaming ASN1 encode support.Dr. Stephen Henson
2002-08-23Reinstate the check for invalid length BIT STRINGS,Dr. Stephen Henson
which was effectively bypassed in the ASN1 changed.
2002-01-29Shut up compiler warnings for inconsistent declarations.Lutz Jänicke
2001-07-27More linker bloat reorganisation:Dr. Stephen Henson
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.
2001-04-21Fix ASN1 bug when decoding OTHER type.Dr. Stephen Henson
Various S/MIME DSA related fixes.
2001-04-05Don't use 'tt' uninitialized when reporting an errorBodo Möller
(we don't have an ASN1_TEMPLATE to complain about at this stage, so errtt == NULL should be OK)
2001-04-02Rewrite CHOICE field setting code to properly handleDr. Stephen Henson
combine in CHOICE options. This was causing d2i_DSAPublicKey() to misbehave.
2001-02-25Trap an invalid ASN1_ITEM construction and print outDr. Stephen Henson
the errant field for more ASN1 error conditions.
2001-02-23Initial support for ASN1_ITEM_FUNCTION option toDr. Stephen Henson
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.
2001-02-20Include string.h so mem*() functions get properly declared.Richard Levitte
2001-01-04Fix typo in OCSP nonce extension.Dr. Stephen Henson
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().
2001-01-04Update OCSP API.Dr. Stephen Henson
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.
2000-12-31Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson
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).
2000-12-21Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson
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.
2000-12-08Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson
to main trunk. Lets see if the makes it to openssl-cvs :-)