aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -passin argument to dgst command.Dr. Stephen Henson2004-12-031-1/+16
|
* Don't ignore return value of EVP_DigestInit_ex() in md BIOs and dgst utility.Dr. Stephen Henson2004-08-051-1/+7
|
* 'apps/openssl dgst -help' update and minor apps/speed.c update.Andy Polyakov2004-07-251-0/+10
|
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-2/+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>
* Add the possibility to build without the ENGINE framework.Richard Levitte2003-01-301-0/+8
| | | | PR: 287
* 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)
* Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte2002-11-281-1/+1
| | | | I've covered all the memset()s I felt safe modifying, but may have missed some.
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-1/+1
|
* Make it possible to load keys from stdin, and restore thatRichard Levitte2002-08-011-2/+2
| | | | | functionality in the programs that had that before. Part fo PR 164
* Handle read errors.Ben Laurie2002-06-111-13/+43
|
* Allow longer program names (VMS allows up to 39 characters).Richard Levitte2002-04-061-2/+2
| | | | Submitted by Compaq.
* 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.
* Reduce the header dependencies on engine.h in apps/.Geoff Thorpe2001-09-121-1/+0
|
* 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.
* Provide an application-common setup function for engines and use itRichard Levitte2001-06-181-17/+1
| | | | everywhere.
* Extend all the loading functions to take an engine pointer, a passRichard Levitte2001-05-301-41/+8
| | | | | | | | | | | | | | string (some engines may have certificates protected by a PIN!) and a description to put into error messages. Also, have our own password callback that we can send both a password and some prompt info to. The default password callback in EVP assumes that the passed parameter is a password, which isn't always the right thing, and the ENGINE code (at least the nCipher one) makes other assumptions... Also, in spite of having the functions to load keys, some utilities did the loading all by themselves... That's changed too.
* 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.
* Make flag variables int instead of char. This avoids getting into trouble ↵Richard Levitte2000-10-311-3/+3
| | | | on systems where char is unsigned by default
* Add the possibility to use keys handled by engines in moreRichard Levitte2000-10-281-12/+46
| | | | applications.
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+27
| | | | At the same time, add VMS support for Rijndael.
* On VMS, stdout may very well lead to a file that is written to in aRichard Levitte2000-09-201-2/+10
| | | | | | | | | | | | | | | | | 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.
* Fix a typo in apps/pkcs12.c which was using the wrong part ofDr. Stephen Henson2000-09-191-5/+5
| | | | | | | | ASN1_TYPE (though they are both ASN1_STRING so it didn't cause any problems). Make 'siglen' an int in apps/dgst.c so we can check the return value of BIO_read() etc.
* siglen is unsigned, so comparing it to less than 0 is silly, andRichard Levitte2000-09-171-1/+1
| | | | generates a compiler warning with Compaq C.
* Fix typo in i2d_ASN1_ENUMERATEDDr. Stephen Henson2000-08-301-14/+174
| | | | | | | Fix bug in read only memory BIOs so BIO_reset() works. Add sign and verify options to dgst utility, need to update docs.
* MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte2000-08-141-0/+2
| | | | test utility, I added the bits to get a EVP interface, the command line utility and the speed test
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-2/+2
| | | | | | | | | 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/+3
| | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
* Avoid warnings.Bodo Möller1999-06-101-1/+1
|
* Don't mix real tabs with tabs expanded as 8 spaces -- that'sBodo Möller1999-06-071-2/+2
| | | | a pain to read when using 4-space tabs.
* argc counting bug fixed.Bodo Möller1999-05-111-1/+1
| | | | | | Submitted by: Tomas Hulek Reviewed by: PR:
* Remove NOPROTO definitions and error code comments.Ulf Möller1999-04-261-5/+0
|
* Change #include filenames from <foo.h> to <openssl.h>.Bodo Möller1999-04-231-6/+6
| | | | | | Submitted by: Reviewed by: PR:
* Change functions to ANSI C.Ulf Möller1999-04-191-7/+2
|
* Massive constification.Ben Laurie1999-04-171-2/+2
|
* Import of old SSLeay release: SSLeay 0.9.1b (unreleased)Ralf S. Engelschall1998-12-211-0/+2
|
* Import of old SSLeay release: SSLeay 0.9.0bRalf S. Engelschall1998-12-211-8/+8
|
* Import of old SSLeay release: SSLeay 0.8.1bRalf S. Engelschall1998-12-211-0/+227