aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/asn1_par.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* free NULL cleanupRich Salz2015-03-241-8/+4
| | | | | | | | Start ensuring all OpenSSL "free" routines allow NULL, and remove any if check before calling them. This gets ASN1_OBJECT_free and ASN1_STRING_free. Reviewed-by: Matt Caswell <matt@openssl.org>
* Remove {i2d,d2i}_ASN1_BOOLEANDr. Stephen Henson2015-03-231-6/+2
| | | | | | | | Remove {i2d,d2i}_ASN1_BOOLEAN. Rewrite single occurrence of d2i_ASN1_BOOLEAN in asn1_parse2 Reviewed-by: Rich Salz <rsalz@openssl.org>
* Remove old ASN.1 code.Dr. Stephen Henson2015-03-231-4/+4
| | | | | | | | | Remove old M_ASN1_ macros and replace any occurences with the corresponding function. Remove d2i_ASN1_bytes, d2i_ASN1_SET, i2d_ASN1_SET: no longer used internally. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Fix wrong numbers being passed as string lengthsDmitry-Me2015-03-091-1/+1
| | | | | Signed-off-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Dead code removal: #if 0 asn1, pkcs7Rich Salz2015-01-301-4/+0
| | | | | | | Keep one #if 0 but rename the symbol to be more descriptive of what it's doing (you can disable support for old broken Netscape software). Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-354/+314
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Fix strange formatting by indentMatt Caswell2015-01-221-8/+16
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3543: Remove #ifdef LINTRich Salz2014-12-101-3/+0
| | | | | | | I also replaced some exit/return wrappers in various programs (from main) to standardize on return. Reviewed-by: Richard Levitte <levitte@openssl.org>
* PR: 2056Dr. Stephen Henson2009-10-011-1/+1
| | | | | | | Submitted by: Julia Lawall <julia@diku.dk> Approved by: steve@openssl.org Correct BIO_wirte error handling in asn1_par.c
* Print out UTF8 and NumericString types in ASN1 parsing utility.Dr. Stephen Henson2009-01-281-0/+2
|
* Revert the size_t modifications from HEAD that had led to moreGeoff Thorpe2008-11-121-14/+12
| | | | | | 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.
* size_tification.Ben Laurie2008-11-011-12/+14
|
* Bunch of constifications.Andy Polyakov2007-10-131-1/+1
|
* fix problems found by coverity: remove useless codeNils Larsch2006-03-151-10/+3
|
* In ASN1_parse() show tag value for ASN1 tags > 30.Dr. Stephen Henson2006-01-031-1/+4
|
* fix warnings when building openssl with the following compiler options:Nils Larsch2005-08-281-1/+1
| | | | | | | -Wmissing-prototypes -Wcomment -Wformat -Wimplicit -Wmain -Wmultichar -Wswitch -Wshadow -Wtrigraphs -Werror -Wchar-subscripts -Wstrict-prototypes -Wreturn-type -Wpointer-arith -W -Wunused -Wno-unused-parameter -Wuninitialized
* some const fixes and cleanupNils Larsch2005-04-051-4/+5
|
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-5/+5
| | | | | | | | 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.
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-3/+3
| | | | | | | Use BUF_strlcat() instead of strcat(). Use BIO_snprintf() instead of sprintf(). In some cases, keep better track of buffer lengths. This is part of a large change submitted by Markus Friedl <markus@openbsd.org>
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-6/+1
|
* AES cipher suites are now official (RFC3268)Bodo Möller2002-07-041-6/+26
|
* Changes needed for Tandem NSK, supplied by Scott Uroff (scott@xypro.com).Dr. Stephen Henson2000-08-041-2/+2
| | | | Fix warnings with BIO_dump_indent().
* Add the possibility to get hexdumps of unprintable data when usingRichard Levitte2000-07-271-5/+43
| | | | | 'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump and BIO_dump_indent are added.
* Replace the macros in asn1.h with function equivalents. Also make UTF8StringsDr. Stephen Henson1999-10-201-4/+4
| | | | tolerated in certificates.
* Fix for bug in pkcs12 program and typo in ASN1_tag2str().Dr. Stephen Henson1999-10-051-1/+1
|
* New function to convert ASN1 tag values to strings. Also fix typo in asn1.hDr. Stephen Henson1999-09-071-48/+22
|
* Don't include x509.h when we just need asn1.hBodo Möller1999-07-241-1/+1
|
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-6/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-3/+3
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-18/+5
|
* Allow asn1parse to print out VISIBLESTRING and some code needed for certificateDr. Stephen Henson1999-04-171-2/+3
| | | | policies extension.
* Massive constification.Ben Laurie1999-04-171-3/+4
|
* Support for ASN1 ENUMERATED type. This copies and duplicates the ASN1_INTEGERDr. Stephen Henson1999-02-091-0/+34
| | | | code and adds support to ASN1_TYPE and asn1parse.
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-1/+2
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-2/+8
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+387