aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_type.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Identify and move common internal libcrypto header filesRichard Levitte2015-05-141-1/+1
| | | | | | | | | | | | | There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
* Return an error in ASN1_TYPE_unpack_sequence if argument is NULLDr. Stephen Henson2015-05-041-1/+1
| | | | | | Thanks to Brian Carpenter for reporting this issue. Reviewed-by: Richard Levitte <levitte@openssl.org>
* New ASN1_TYPE SEQUENCE functions.Dr. Stephen Henson2015-03-301-0/+31
| | | | | | | | | Add new functions ASN1_TYPE_pack_sequence and ASN1_TYPE_unpack_sequence: these encode and decode ASN.1 SEQUENCE using an ASN1_TYPE structure. Update ordinals. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Move more internal only functions to asn1_locl.hDr. Stephen Henson2015-03-261-1/+2
| | | | Reviewed-by: Matt Caswell <matt@openssl.org>
* Fix ASN1_TYPE_cmpDr. Stephen Henson2015-03-191-0/+3
| | | | | | | | | | Fix segmentation violation when ASN1_TYPE_cmp is passed a boolean type. This can be triggered during certificate verification so could be a DoS attack against a client or a server enabling client authentication. CVE-2015-0286 Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove obsolete IMPLEMENT_ASN1_SET_OFDr. Stephen Henson2015-02-091-2/+0
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* util/mkstack.pl now generates entire safestack.hRich Salz2015-02-061-2/+0
| | | | | | | | | The mkstack.pl script now generates the entire safestack.h file. It generates output that follows the coding style. Also, removed all instances of the obsolete IMPLEMENT_STACK_OF macro. Reviewed-by: Andy Polyakov <appro@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-88/+83
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Constify ASN1_TYPE_cmp add X509_ALGOR_cmp.Dr. Stephen Henson2015-01-051-1/+1
| | | | Reviewed-by: Emilia Käsper <emilia@openssl.org>
* Fix some warnings.Dr. Stephen Henson2008-03-161-1/+2
|
* Fix typo and avoid warning.Dr. Stephen Henson2008-02-281-1/+1
|
* Extend attribute setting routines to support non-string types.Dr. Stephen Henson2008-02-111-1/+28
|
* Fix warnings.Dr. Stephen Henson2006-02-151-0/+1
|
* RFC 3161 compliant time stamp request creation, response generationUlf Möller2006-02-121-0/+46
| | | | | | | and response verification. Submitted by: Zoltan Glozik <zglozik@opentsa.org> Reviewed by: Ulf Moeller
* Engage Applink for VC builds.Andy Polyakov2005-05-171-1/+1
|
* Get rid if the annoying warningRichard Levitte2005-01-271-1/+4
|
* Make ASN1_TYPE_get() work for V_ASN1_NULL type.Dr. Stephen Henson2002-12-041-1/+1
|
* Merge from the ASN1 branch of new ASN1 codeDr. Stephen Henson2000-12-081-273/+2
| | | | | | to main trunk. Lets see if the makes it to openssl-cvs :-)
* Catch V_ASN1_NULL.Richard Levitte2000-09-221-0/+2
|
* Fix ASN1_TYPE bug.Dr. Stephen Henson2000-09-211-6/+8
|
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-1/+1
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* Seek out and destroy another evil cast.Ulf Möller2000-01-301-1/+1
|
* Source code cleanups: Use void * rather than char * in lhash,Ulf Möller2000-01-301-1/+1
| | | | eliminate some of the -Wcast-qual warnings (debug-ben-strict target)
* Kill evil casts, fix PKCS#7 and add new X509V3 Function.Dr. Stephen Henson1999-05-091-1/+1
|
* Another stack.Ben Laurie1999-05-011-0/+2
|
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-9/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-1/+1
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-18/+7
|
* Add support for VISIBLESTRING and UTF8StringDr. Stephen Henson1999-04-171-0/+17
|
* Support for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGERDr. Stephen Henson1999-02-091-0/+11
| | | | code and adds support to ASN1_TYPE and asn1parse.
* Time to blow up the source tree :-) This is the beginning of support forDr. Stephen Henson1999-01-171-0/+8
| | | | | | | | | | | | | | | | | | | | | GeneralizedTime. At several points PKIX specifies that GeneralizedTime can be used but OpenSSL doesn't currently support it. This patch adds several files and a bunch of functions. Of interest is the ASN1_TIME structure and its related functions. At several points certificates, CRLs et al specify that a time can be expressed as a choice of UTCTime and GeneralizedTime. Currently OpenSSL interprets this (wrongly) as UTCTime because GeneralizedTime isn't supported. The ASN1_TIME stuff provides this functionality. Still todo is to trace which cert and CRL points need an ASN1_TIME and modify the utilities appropriately and of course fix all the bugs. Note new OpenSSL copyright in the new file a_time.c. I didn't put it in a_gentm.c because it is a minimally modified form a_utctm.c . Since this adds new files and error codes you will need to do a 'make errors' at the top level to add the new codes.
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-7/+12
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-1/+9
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+317