aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -engine_impl option to dgst which will use an implementation ofDr. Stephen Henson2010-03-051-6/+21
| | | | an algorithm from the supplied engine instead of just the default one.
* PR: 2170Dr. Stephen Henson2010-02-121-1/+1
| | | | | | Submitted by: Magnus Lilja <lilja.magnus@gmail.com> Make -c option in dgst work again.
* PR: 2066Dr. Stephen Henson2009-10-151-0/+9
| | | | | | | Submitted by: Guenter <lists@gknw.net> Approved by: steve@openssl.org Add -r option to dgst to produce format compatible with core utilities.
* Update from 1.0.0-stableDr. Stephen Henson2009-07-271-11/+11
|
* Cast to avoid signedness confusionRichard Levitte2009-04-261-1/+1
|
* Updates from 1.0.0-stable.Dr. Stephen Henson2009-04-151-30/+24
|
* Stop warnings.Dr. Stephen Henson2009-03-311-1/+1
|
* Submitted by: Victor B. Wagner <vitus@cryptocom.ru>Dr. Stephen Henson2009-03-181-1/+8
| | | | | | Reviewed by: steve@openssl.org Check return codes properly in md BIO and dgst command.
* remove a doubled entry for '-binary' in the usage messageRalf S. Engelschall2008-07-271-1/+0
|
* More type-checking.Ben Laurie2008-06-041-11/+11
|
* Provide information about "openssl dgst" -hmac option.Lutz Jänicke2008-05-191-0/+1
|
* Typo.Dr. Stephen Henson2007-05-211-1/+1
|
* Fixes for dgst tool. Initialize md_name, sig_name properly. Return error codeDr. Stephen Henson2007-05-211-15/+11
| | | | | | on failure. Keep output format consistent with previous versions. Also flush stdout after printing ACCEPT in s_server.
* Set len to buffer size.Dr. Stephen Henson2007-05-171-0/+1
|
* Prepend signature name in dgst output.Dr. Stephen Henson2007-05-171-19/+30
|
* Use default md if none specified in dgst utility.Dr. Stephen Henson2007-05-171-6/+16
|
* Use EVP_DigestVerify() in dgst.c if verifying.Dr. Stephen Henson2007-05-171-1/+6
|
* Bug in apps/dgst.c.Andy Polyakov2007-04-301-2/+2
|
* New -mac and -macopt options to dgst utility. Reimplement -hmac option inDr. Stephen Henson2007-04-111-26/+72
| | | | terms of new API.
* New -sigopt option for dgst utility.Dr. Stephen Henson2007-04-081-13/+56
|
* Updates from 0.9.8-stable branch.Dr. Stephen Henson2007-02-181-1/+1
|
* Add -hmac option to dgst from 0.9.7 stable branch.Dr. Stephen Henson2007-02-081-7/+37
|
* replace macros with functionsNils Larsch2006-11-291-1/+1
| | | | Submitted by: Tracy Camp <tracyx.e.camp@intel.com>
* Fix bug where freed OIDs could be accessed in EVP_cleanup() byDr. Stephen Henson2006-03-281-4/+1
| | | | defering freeing in OBJ_cleanup().
* Mention Whirlpool in dgst -help.Andy Polyakov2005-11-301-10/+16
|
* 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