summaryrefslogtreecommitdiffstats
path: root/apps/dgst.c
AgeCommit message (Collapse)Author
2011-04-06Add fips hmac key to dgst utility.Dr. Stephen Henson
2010-03-05Add -engine_impl option to dgst which will use an implementation ofDr. Stephen Henson
an algorithm from the supplied engine instead of just the default one.
2010-02-12PR: 2170Dr. Stephen Henson
Submitted by: Magnus Lilja <lilja.magnus@gmail.com> Make -c option in dgst work again.
2009-10-15PR: 2066Dr. Stephen Henson
Submitted by: Guenter <lists@gknw.net> Approved by: steve@openssl.org Add -r option to dgst to produce format compatible with core utilities.
2009-07-27Update from 1.0.0-stableDr. Stephen Henson
2009-04-26Cast to avoid signedness confusionRichard Levitte
2009-04-15Updates from 1.0.0-stable.Dr. Stephen Henson
2009-03-31Stop warnings.Dr. Stephen Henson
2009-03-18Submitted by: Victor B. Wagner <vitus@cryptocom.ru>Dr. Stephen Henson
Reviewed by: steve@openssl.org Check return codes properly in md BIO and dgst command.
2008-07-27remove a doubled entry for '-binary' in the usage messageRalf S. Engelschall
2008-06-04More type-checking.Ben Laurie
2008-05-19Provide information about "openssl dgst" -hmac option.Lutz Jänicke
2007-05-21Typo.Dr. Stephen Henson
2007-05-21Fixes for dgst tool. Initialize md_name, sig_name properly. Return error codeDr. Stephen Henson
on failure. Keep output format consistent with previous versions. Also flush stdout after printing ACCEPT in s_server.
2007-05-17Set len to buffer size.Dr. Stephen Henson
2007-05-17Prepend signature name in dgst output.Dr. Stephen Henson
2007-05-17Use default md if none specified in dgst utility.Dr. Stephen Henson
2007-05-17Use EVP_DigestVerify() in dgst.c if verifying.Dr. Stephen Henson
2007-04-30Bug in apps/dgst.c.Andy Polyakov
2007-04-11New -mac and -macopt options to dgst utility. Reimplement -hmac option inDr. Stephen Henson
terms of new API.
2007-04-08New -sigopt option for dgst utility.Dr. Stephen Henson
2007-02-18Updates from 0.9.8-stable branch.Dr. Stephen Henson
2007-02-08Add -hmac option to dgst from 0.9.7 stable branch.Dr. Stephen Henson
2006-11-29replace macros with functionsNils Larsch
Submitted by: Tracy Camp <tracyx.e.camp@intel.com>
2006-03-28Fix bug where freed OIDs could be accessed in EVP_cleanup() byDr. Stephen Henson
defering freeing in OBJ_cleanup().
2005-11-30Mention Whirlpool in dgst -help.Andy Polyakov
2004-12-03Add -passin argument to dgst command.Dr. Stephen Henson
2004-08-05Don't ignore return value of EVP_DigestInit_ex() in md BIOs and dgst utility.Dr. Stephen Henson
2004-07-25'apps/openssl dgst -help' update and minor apps/speed.c update.Andy Polyakov
2003-12-27Use BUF_strlcpy() instead of strcpy().Richard Levitte
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>
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte
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)
2002-11-28Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte
I've covered all the memset()s I felt safe modifying, but may have missed some.
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-08-01Make it possible to load keys from stdin, and restore thatRichard Levitte
functionality in the programs that had that before. Part fo PR 164
2002-06-11Handle read errors.Ben Laurie
2002-04-06Allow longer program names (VMS allows up to 39 characters).Richard Levitte
Submitted by Compaq.
2002-02-22Config code updates.Dr. Stephen Henson
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.
2001-09-12Reduce the header dependencies on engine.h in apps/.Geoff Thorpe
2001-06-23Use apps_shutdown() in all applications, in case someone decides notRichard Levitte
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.
2001-06-18Provide an application-common setup function for engines and use itRichard Levitte
everywhere.
2001-05-30Extend all the loading functions to take an engine pointer, a passRichard Levitte
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.
2001-02-20Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte
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.
2000-10-31Make flag variables int instead of char. This avoids getting into trouble ↵Richard Levitte
on systems where char is unsigned by default
2000-10-28Add the possibility to use keys handled by engines in moreRichard Levitte
applications.
2000-10-26Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte
At the same time, add VMS support for Rijndael.
2000-09-20On VMS, stdout may very well lead to a file that is written to in aRichard Levitte
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.
2000-09-19Fix a typo in apps/pkcs12.c which was using the wrong part ofDr. Stephen Henson
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.
2000-09-17siglen is unsigned, so comparing it to less than 0 is silly, andRichard Levitte
generates a compiler warning with Compaq C.
2000-08-30Fix typo in i2d_ASN1_ENUMERATEDDr. Stephen Henson
Fix bug in read only memory BIOs so BIO_reset() works. Add sign and verify options to dgst utility, need to update docs.