aboutsummaryrefslogtreecommitdiffstats
path: root/apps/smime.c
Commit message (Collapse)AuthorAgeFilesLines
* Provide an application-common setup function for engines and use itRichard Levitte2001-06-181-17/+1
| | | | everywhere.
* Extend all the loading functions to take an engine pointer, a passRichard Levitte2001-05-301-16/+20
| | | | | | | | | | | | | | 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.
* Allow various X509_STORE_CTX properties to beDr. Stephen Henson2001-05-091-1/+9
| | | | | | inherited from X509_STORE. Add CRL checking options to other applications.
* Correct typo.Richard Levitte2001-04-111-1/+1
|
* Add -keyform.Richard Levitte2001-04-111-5/+20
|
* Add forgotten "-passin" option to smime.c usage help.Lutz Jänicke2001-04-081-0/+1
|
* 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-5/+5
| | | | | | | | | | | | 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.
* Initial OCSP certificate verify. Not complete,Dr. Stephen Henson2001-01-171-32/+1
| | | | it just supports a "trusted OCSP global root CA".
* Add the possibility to use keys handled by engines in moreRichard Levitte2000-10-281-1/+1
| | | | applications.
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-1/+28
| | | | 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-2/+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.
* Keep a not of original encoding in certificate requests.Dr. Stephen Henson2000-09-051-0/+2
| | | | Add new option to PKCS7_sign to exclude S/MIME capabilities.
* Make req seed the PRNG if signing withDr. Stephen Henson2000-07-121-0/+3
| | | | | | an already existing DSA key. Document the new smime options.
* Fix some typose in the i2d/d2i functions thatDr. Stephen Henson2000-07-101-6/+52
| | | | | | | | | | | | | 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.
* Undo the changes I just made. I'm not sure what I was thinking of.Richard Levitte2000-06-281-13/+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/+13
| | | | EGD should be used as seeding input, and where the named socket is.
* Move add_oid_section to apps.c, so it can be shared by severalRichard Levitte2000-06-221-5/+5
| | | | | applications. Also, have it and the certificate and key loading functions take a BIO argument for error output.
* Move the certificate and key loading functions to apps.c, so they canRichard Levitte2000-06-221-51/+5
| | | | be shared by several applications.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-1/+1
| | | | | | | | | 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.
* Remove CRYPTO_push/pop_info invocations to improve code readability --Bodo Möller2000-03-141-111/+0
| | | | I hope all memory leaks that may occur here have already been tracked down.
* 'rand'/'-rand' documentation.Bodo Möller2000-03-011-1/+1
|
* Rename functions for new convention.Dr. Stephen Henson2000-02-261-2/+2
|
* add missing 'static'Bodo Möller2000-02-181-1/+1
|
* Pass phrase reorganisation.Dr. Stephen Henson2000-02-161-13/+10
|
* Make pkcs12 and smime applications seed random numberDr. Stephen Henson2000-02-121-11/+36
| | | | | generator (otherwise they don't work) and add -rand option. Update docs.
* Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall2000-02-111-0/+2
| | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
* ispell (and minor modifications)Ulf Möller2000-02-031-1/+1
|
* Use CRYPTO_push_info to track down memory leakBodo Möller2000-01-131-2/+115
| | | | | | (only the CRYPTO_push_info's in the apps/ directory are included in the CVS commit, not all those I used in crypto/)
* slightly change usage informationBodo Möller2000-01-131-3/+2
|
* make no-des and no-rc2 work.Bodo Möller2000-01-071-2/+18
|
* Allow passwords to be included on command line for a fewDr. Stephen Henson1999-12-241-7/+18
| | | | more utilities.
* Various S/MIME fixes. Fix for memory leak, recipient list bugDr. Stephen Henson1999-12-141-3/+3
| | | | and not excluding parameters with DSA keys.
* Make the PKCS#7 S/MIME functions check for passed NULL pointers.Dr. Stephen Henson1999-12-091-7/+21
| | | | | | | Fix the usage message of smime utility and sanitise the return codes. Add some documentation.
* Modify S/MIME application so the -signer option writes the signer(s)Dr. Stephen Henson1999-12-071-2/+25
| | | | to a file if we are verifying.
* Merge in my S/MIME library and utility.Dr. Stephen Henson1999-12-051-0/+446