summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
AgeCommit message (Collapse)Author
2013-05-30Don't use RC2 with PKCS#12 files in FIPS mode.Dr. Stephen Henson
2011-03-13PR: 2469Dr. Stephen Henson
Submitted by: Jim Studt <jim@studt.net> Reviewed by: steve Check mac is present before trying to retrieve mac iteration count.
2009-07-27Change STRING to OPENSSL_STRING etc as common words suchDr. Stephen Henson
as "STRING" cause conflicts with other headers/libraries.
2009-06-17Update from HEAD.Dr. Stephen Henson
2008-11-05Update obsolete email address...Dr. Stephen Henson
2008-06-26Update from stable branch.Dr. Stephen Henson
2008-06-04More type-checking.Ben Laurie
2007-09-07Fix another warning.Dr. Stephen Henson
2007-04-23Add SEED encryption algorithm.Bodo Möller
PR: 1503 Submitted by: KISA Reviewed by: Bodo Moeller
2006-12-27fix return value of get_cert_chain()Nils Larsch
PR: 1441
2006-12-21update pkcs12 help message + manpageNils Larsch
PR: 1443 Submitted by: Artem Chuprina <ran@cryptocom.ru>
2006-06-09Camellia cipher, contributed by NTTBodo Möller
Submitted by: Masashi Fujita Reviewed by: Bodo Moeller
2006-05-26Fix warnings.Dr. Stephen Henson
2006-05-17New option to pkcs12 utility to set alternative MAC digest algorithm.Dr. Stephen Henson
2006-05-17Don't try to print PBE information if it can't be decoded.Dr. Stephen Henson
2006-05-15Bugfix: the NONE string for PBE algorithms wasn't working.Dr. Stephen Henson
2005-05-31include opensslconf.h if OPENSSL_NO_* is usedNils Larsch
2005-05-15Make -CSP option work again in pkcs12 utility by checking forDr. Stephen Henson
attribute in EVP_PKEY structure.
2005-04-05some const fixesNils Larsch
2004-11-23Typo.Dr. Stephen Henson
2004-11-23Fix memory leak.Dr. Stephen Henson
2004-03-15Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte
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.
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-04-03Correct a lot of printing calls. Remove extra arguments...Richard Levitte
2003-02-10Typo.Dr. Stephen Henson
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-13This didn't get to the 0.9.8-dev thread...Richard Levitte
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-10-03Various enhancements to PKCS#12 code, newDr. Stephen Henson
medium level API, improved PKCS12_create and additional functionality in pkcs12 utility.
2002-08-22Fix crahses and leaks in pkcs12 utility -chain optionDr. Stephen Henson
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-04-25Potential memory leak removed. Notified by <threaded@totalise.co.uk>Richard Levitte
2002-02-26Fix new -aes command argument handlingDr. Stephen Henson
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.
2002-02-20Add AES support in the applications that support -des and -des3.Richard Levitte
2001-12-12Change pkcs12 so the certificates coming from -in do not get tossed ifRichard Levitte
-certfile is given as well.
2001-09-12Reduce the header dependencies on engine.h in apps/.Geoff Thorpe
2001-09-01Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe
See the commit log message for that for more information. NB: X509_STORE_CTX's use of "ex_data" support was actually misimplemented (initialisation by "memset" won't/can't/doesn't work). This fixes that but requires that X509_STORE_CTX_init() be able to handle errors - so its prototype has been changed to return 'int' rather than 'void'. All uses of that function throughout the source code have been tracked down and adjusted.
2001-06-25Make better use of load_cert, load_certs and load_key.Richard Levitte
2001-06-18Provide an application-common setup function for engines and use itRichard Levitte
everywhere.
2001-06-11Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson
2001-03-09Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson
functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
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.
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2000-12-31Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson
horrible macros. Fix two evil ASN1 bugs. Attempt to use 'ctx' when NULL if input is indefinite length constructed in asn1_check_tlen() and invalid pointer to ASN1_TYPE when reusing existing structure (this took *ages* to find because the new PKCS#12 code triggered it).
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-17Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte
of complaints from the compiler about data pointers and function pointers not being compatible with each other.