summaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
AgeCommit message (Collapse)Author
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.
2000-08-21Various fixes...Dr. Stephen Henson
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.
2000-08-11Memory leaks fix. It now looks like all memory leaks, at least aroundRichard Levitte
building complete chains, are gone.
2000-08-11Memory leaks fix. There seems to be more in other parts of OpenSSL...Richard Levitte
2000-08-11The pkcs12 had no way of getting a CA file or path to be used whenRichard Levitte
building a complete chain. Now added through the -CAfile and -CApath arguments.
2000-06-28Undo the changes I just made. I'm not sure what I was thinking of.Richard Levitte
The message to everyone is "Do not hack OpenSSL when stressed"...
2000-06-28Make it possible for users of the openssl applications to specify theRichard Levitte
EGD should be used as seeding input, and where the named socket is.
2000-06-01There have been a number of complaints from a number of sources that namesRichard Levitte
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.
2000-05-16Typesafety Thought Police part 3.Ben Laurie
2000-05-16Typesafety Thought Police Part 2.Ben Laurie
2000-05-15Get rid of more non-ANSI declarations.Ulf Möller
2000-05-04Make PKCS#12 code handle missing passwords.Dr. Stephen Henson
Add a couple of FAQs.
2000-03-01'rand'/'-rand' documentation.Bodo Möller
2000-02-26Rename functions for new convention.Dr. Stephen Henson
2000-02-16Pass phrase reorganisation.Dr. Stephen Henson
2000-02-12Make pkcs12 and smime applications seed random numberDr. Stephen Henson
generator (otherwise they don't work) and add -rand option. Update docs.
2000-02-11Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
2000-02-08Add command line password options to the reamining utilities,Dr. Stephen Henson
amend docs.
2000-02-03ispell (and minor modifications)Ulf Möller
2000-01-13Use CRYPTO_push_info to find a memory leak in pkcs12.c.Bodo Möller
2000-01-09New function X509_CTX_rget_chain(), make SSL_SESSION_print() display return ↵Dr. Stephen Henson
code. Remove references to 'TXT' in -inform and -outform switches.
2000-01-08Add PKCS#12 manpage and use MAC iteration counts by default.Dr. Stephen Henson
1999-12-23Add PKCS#8 utility functions and add PBE options.Dr. Stephen Henson
1999-11-26New options to the -verify program which can be used for chain verification.Dr. Stephen Henson
Extend the X509_PURPOSE structure to include shortnames for purposed and default trust ids. Still need some extendable trust checking code and integration with the SSL and S/MIME code.
1999-11-12Merge some common functionality in the apps, deleteDr. Stephen Henson
the encryption option in the pkcs7 utility (they never did anything) and add a couple more options to pkcs7.
1999-10-05Fix for bug in pkcs12 program and typo in ASN1_tag2str().Dr. Stephen Henson
1999-08-02avoid some NO_<cipher> problemsBodo Möller
1999-07-29Tidy up pkcs12 application.Dr. Stephen Henson
1999-07-21Additional user data argument to pem_password_cb function typeBodo Möller
and to lots of PEM_... functions. Submitted by: Damien Miller <dmiller@ilogic.com.au>
1999-06-10Avoid warnings.Bodo Möller
1999-06-04Some constification and stacks that slipped through the cracks (how?).Ben Laurie
1999-05-27Free up 'out' before exiting pkcs12 application.Dr. Stephen Henson
Submitted by: Wu Zhigang <zhigangwu@yahoo.com>
1999-05-19New functions sk_set, sk_value and sk_num to replace existing macros: this isDr. Stephen Henson
to minimise the effects on existing code.
1999-05-18Change default PKCS#12 iteration count to 2048, include rsa_oeap_test in theDr. Stephen Henson
test batch file.