aboutsummaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
Commit message (Collapse)AuthorAgeFilesLines
* fix return value of get_cert_chain()Nils Larsch2006-12-271-7/+13
| | | | PR: 1441
* update pkcs12 help message + manpageNils Larsch2006-12-211-0/+4
| | | | | PR: 1443 Submitted by: Artem Chuprina <ran@cryptocom.ru>
* Camellia cipher, contributed by NTTBodo Möller2006-06-091-1/+10
| | | | | Submitted by: Masashi Fujita Reviewed by: Bodo Moeller
* Fix warnings.Dr. Stephen Henson2006-05-261-0/+1
|
* New option to pkcs12 utility to set alternative MAC digest algorithm.Dr. Stephen Henson2006-05-171-1/+18
|
* Don't try to print PBE information if it can't be decoded.Dr. Stephen Henson2006-05-171-2/+4
|
* Bugfix: the NONE string for PBE algorithms wasn't working.Dr. Stephen Henson2006-05-151-23/+23
|
* include opensslconf.h if OPENSSL_NO_* is usedNils Larsch2005-05-311-2/+3
|
* Make -CSP option work again in pkcs12 utility by checking forDr. Stephen Henson2005-05-151-0/+4
| | | | attribute in EVP_PKEY structure.
* some const fixesNils Larsch2005-04-051-2/+2
|
* Typo.Dr. Stephen Henson2004-11-231-1/+1
|
* Fix memory leak.Dr. Stephen Henson2004-11-231-5/+12
|
* Constify d2i, s2i, c2i and r2i functions and other associatedRichard Levitte2004-03-151-1/+1
| | | | | | | | 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.
* Use BUF_strlcpy() instead of strcpy().Richard Levitte2003-12-271-2/+2
| | | | | | | 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>
* Correct a lot of printing calls. Remove extra arguments...Richard Levitte2003-04-031-2/+3
|
* Typo.Dr. Stephen Henson2003-02-101-1/+1
|
* 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)
* This didn't get to the 0.9.8-dev thread...Richard Levitte2002-11-131-1/+1
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-2/+2
|
* Various enhancements to PKCS#12 code, newDr. Stephen Henson2002-10-031-139/+94
| | | | | | medium level API, improved PKCS12_create and additional functionality in pkcs12 utility.
* Fix crahses and leaks in pkcs12 utility -chain optionDr. Stephen Henson2002-08-221-6/+4
|
* Make it possible to load keys from stdin, and restore thatRichard Levitte2002-08-011-1/+1
| | | | | functionality in the programs that had that before. Part fo PR 164
* Potential memory leak removed. Notified by <threaded@totalise.co.uk>Richard Levitte2002-04-251-1/+4
|
* Fix new -aes command argument handlingDr. Stephen Henson2002-02-261-3/+3
|
* 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.
* Add AES support in the applications that support -des and -des3.Richard Levitte2002-02-201-0/+9
|
* Change pkcs12 so the certificates coming from -in do not get tossed ifRichard Levitte2001-12-121-2/+8
| | | | -certfile is given as well.
* Reduce the header dependencies on engine.h in apps/.Geoff Thorpe2001-09-121-1/+0
|
* Make the necessary changes to work with the recent "ex_data" overhaul.Geoff Thorpe2001-09-011-0/+3
| | | | | | | | | | | 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.
* Make better use of load_cert, load_certs and load_key.Richard Levitte2001-06-251-16/+11
|
* Provide an application-common setup function for engines and use itRichard Levitte2001-06-181-13/+1
| | | | everywhere.
* Add support for MS CSP Name PKCS#12 attribute.Dr. Stephen Henson2001-06-111-0/+7
|
* Change the EVP_somecipher() and EVP_somedigest()Dr. Stephen Henson2001-03-091-1/+1
| | | | | | | functions to return constant EVP_MD and EVP_CIPHER pointers. Update docs.
* 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 all configuration macros available for application by makingRichard Levitte2001-02-191-3/+3
| | | | | | | | | | | | 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.
* Rewrite PKCS#12 code and remove some of the oldDr. Stephen Henson2000-12-311-10/+10
| | | | | | | | | | 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).
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+23
| | | | 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-3/+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-4/+4
| | | | | | | | 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.
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-171-5/+5
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* Various fixes...Dr. Stephen Henson2000-08-211-0/+2
| | | | | | | | | | | | | | | | initialize ex_pathlen to -1 so it isn't checked if pathlen is not present. set ucert to NULL in apps/pkcs12.c otherwise it gets freed twice. remove extraneous '\r' in MIME encoder. Allow a NULL to be passed to X509_gmtime_adj() Make PKCS#7 code use definite length encoding rather then the indefinite stuff it used previously.
* Memory leaks fix. It now looks like all memory leaks, at least aroundRichard Levitte2000-08-111-0/+2
| | | | building complete chains, are gone.
* Memory leaks fix. There seems to be more in other parts of OpenSSL...Richard Levitte2000-08-111-25/+106
|
* The pkcs12 had no way of getting a CA file or path to be used whenRichard Levitte2000-08-111-10/+27
| | | | | building a complete chain. Now added through the -CAfile and -CApath arguments.
* Undo the changes I just made. I'm not sure what I was thinking of.Richard Levitte2000-06-281-12/+2
| | | | The message to everyone is "Do not hack OpenSSL when stressed"...
* Make it possible for users of the openssl applications to specify theRichard Levitte2000-06-281-2/+12
| | | | EGD should be used as seeding input, and where the named socket is.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-3/+3
| | | | | | | | | 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.
* Typesafety Thought Police part 3.Ben Laurie2000-05-161-9/+10
|
* Typesafety Thought Police Part 2.Ben Laurie2000-05-161-16/+21
|