summaryrefslogtreecommitdiffstats
path: root/apps/smime.c
AgeCommit message (Collapse)Author
2001-09-12Reduce the header dependencies on engine.h in apps/.Geoff Thorpe
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-05-09Allow various X509_STORE_CTX properties to beDr. Stephen Henson
inherited from X509_STORE. Add CRL checking options to other applications.
2001-04-11Correct typo.Richard Levitte
2001-04-11Add -keyform.Richard Levitte
2001-04-08Add forgotten "-passin" option to smime.c usage help.Lutz Jänicke
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.
2001-01-17Initial OCSP certificate verify. Not complete,Dr. Stephen Henson
it just supports a "trusted OCSP global root CA".
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-05Keep a not of original encoding in certificate requests.Dr. Stephen Henson
Add new option to PKCS7_sign to exclude S/MIME capabilities.
2000-07-12Make req seed the PRNG if signing withDr. Stephen Henson
an already existing DSA key. Document the new smime options.
2000-07-10Fix some typose in the i2d/d2i functions thatDr. Stephen Henson
call the i2c/c2i (they were not using the content length for the headers). Fix ASN1 long form tag encoding. This never worked but it was never tested since it is only used for tags > 30. New options to smime program to allow the PKCS#7 format to be specified and the content supplied externally.
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-22Move add_oid_section to apps.c, so it can be shared by severalRichard Levitte
applications. Also, have it and the certificate and key loading functions take a BIO argument for error output.
2000-06-22Move the certificate and key loading functions to apps.c, so they canRichard Levitte
be shared by several applications.
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-03-14Remove CRYPTO_push/pop_info invocations to improve code readability --Bodo Möller
I hope all memory leaks that may occur here have already been tracked down.
2000-03-01'rand'/'-rand' documentation.Bodo Möller
2000-02-26Rename functions for new convention.Dr. Stephen Henson
2000-02-18add missing 'static'Bodo Möller
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-03ispell (and minor modifications)Ulf Möller
2000-01-13Use CRYPTO_push_info to track down memory leakBodo Möller
(only the CRYPTO_push_info's in the apps/ directory are included in the CVS commit, not all those I used in crypto/)
2000-01-13slightly change usage informationBodo Möller
2000-01-07make no-des and no-rc2 work.Bodo Möller
1999-12-24Allow passwords to be included on command line for a fewDr. Stephen Henson
more utilities.
1999-12-14Various S/MIME fixes. Fix for memory leak, recipient list bugDr. Stephen Henson
and not excluding parameters with DSA keys.
1999-12-09Make the PKCS#7 S/MIME functions check for passed NULL pointers.Dr. Stephen Henson
Fix the usage message of smime utility and sanitise the return codes. Add some documentation.
1999-12-07Modify S/MIME application so the -signer option writes the signer(s)Dr. Stephen Henson
to a file if we are verifying.
1999-12-05Merge in my S/MIME library and utility.Dr. Stephen Henson