aboutsummaryrefslogtreecommitdiffstats
path: root/apps/asn1pars.c
Commit message (Collapse)AuthorAgeFilesLines
* asn1parse doesn't support any TXT format, so let's stop pretendingRichard Levitte2005-06-281-1/+1
| | | | it does.
* Don't try to parse non string types.Dr. Stephen Henson2004-07-011-0/+10
|
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-1/+3
| | | | | | | | 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.
* minor signed/unsigned warning fixesGeoff Thorpe2004-02-101-1/+1
|
* Fix handling of -offset and -length in asn1parse tool.Dr. Stephen Henson2004-02-081-1/+9
| | | | | | | | If -offset exceeds -length of data available exit with an error. Don't read past end of total data available when -offset supplied. If -length exceeds total available truncate it.
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-031-1/+1
| | | | | | exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
* Initial ASN1 generation code. This can constructDr. Stephen Henson2002-11-121-14/+101
| | | | | | arbitrary encodings from strings and config files. Documentation to follow...
* Remove the duplicate description of -out.Richard Levitte2002-05-301-2/+1
| | | | PR: 28
* Config code updates.Dr. Stephen Henson2002-02-221-0/+3
| | | | | | | | | | | | | | | | | | | CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
* Use apps_shutdown() in all applications, in case someone decides notRichard Levitte2001-06-231-0/+1
| | | | | | | to go the monolith way (does anyone do that these days?). NOTE: a few applications are missing in this commit. I've a few more changes in them that I haven't tested yet.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-1/+1
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* On VMS, stdout may very well lead to a file that is written to in aRichard Levitte2000-09-201-1/+7
| | | | | | | | | | | | | | | | | record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
* Add the possibility to get hexdumps of unprintable data when usingRichard Levitte2000-07-271-2/+15
| | | | | 'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump and BIO_dump_indent are added.
* 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.
* Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall2000-02-111-0/+2
| | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
* ispell (and minor modifications)Ulf Möller2000-02-031-2/+2
|
* Fix for bug in pkcs12 program and typo in ASN1_tag2str().Dr. Stephen Henson1999-10-051-2/+6
|
* Various Win32 fixes. Change args in do_ms.bat to put platform last. FixDr. Stephen Henson1999-05-151-1/+1
| | | | | unsigned/signed cmp error in asn1parse. Change various pem_all.c args to use pem_password_cb.
* Add new -out option to asn1parse to allow the parsed data to be output.Dr. Stephen Henson1999-05-121-3/+29
| | | | | | Fixed -strparse option: it didn't work if used more than once (this was due to the d2i_ASN1_TYPE call parsing a freed buffer). On Win32 the file wincrypt.h #define's X509_NAME and PKCS7_SIGNER_INFO causing clashes so these are #undef'ed
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-4/+4
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-3/+1
|
* Allow the -certfile argument to be used multiple times in crl2pkcs7.Dr. Stephen Henson1999-01-291-1/+1
| | | | Also fix typos in the usage messages: "inout" instead of "input".
* Various cleanups and fixed by Marc and Ralf to start the OpenTLS projectRalf S. Engelschall1998-12-221-1/+1
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-7/+54
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-5/+24
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+219