aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_mime.c
Commit message (Collapse)AuthorAgeFilesLines
* Support for smime-type MIME parameter.Dr. Stephen Henson2005-05-011-2/+22
|
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-3/+0
|
* Free up BIO properly when using streaming S/MIME sign.Dr. Stephen Henson2004-03-261-5/+4
|
* Return EOF when an S/MIME part have been read.Dr. Stephen Henson2003-06-241-0/+1
|
* Only count 'LF' as EOL in pk7_mime.c, this avoids incorrectDr. Stephen Henson2003-06-021-17/+21
| | | | results if CR+LF straddles the line buffer.
* Stop checking for CRLF when start of buffer is reached.Dr. Stephen Henson2003-06-021-8/+16
| | | | Add rest of long line fix which got missed before
* Various S/MIME bug and compatibility fixes.Dr. Stephen Henson2003-06-011-17/+34
|
* Fix indefinite length encoding so EOC correctly updatesDr. Stephen Henson2003-02-251-1/+1
| | | | | | | | the buffer pointer. Rename PKCS7_PARTSIGN to PKCS7_STREAM. Guess what that's for :-)
* Single pass processing to cleartext S/MIME signing.Dr. Stephen Henson2003-02-151-7/+49
|
* Reverse the change with the following log, it needs further investigation:Richard Levitte2002-07-181-13/+13
| | | | | Make S/MIME output conform with the mail and MIME standards. PR: 151
* Make S/MIME output conform with the mail and MIME standards.Richard Levitte2002-07-181-14/+14
| | | | PR: 151
* Increase consistency of header data (some mail readers really do notRichard Levitte2001-01-301-3/+3
| | | | | | | like spaces before the semicolon, and besides, other parts of this file makes the values without those spaces), and move spacing of continuation lines to support BIO's that break lines after each write.
* Use sk_*_new_null() instead of sk_*_new(NULL), since that takes careRichard Levitte2000-09-171-1/+1
| | | | | of complaints from the compiler about data pointers and function pointers not being compatible with each other.
* Various fixes...Dr. Stephen Henson2000-08-211-1/+1
| | | | | | | | | | | | | | | | 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.
* Safe stack reorganisation in terms of function casts.Dr. Stephen Henson2000-06-161-62/+0
| | | | | | | | | | | | After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-8/+8
| | | | | | | | | 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.
* "make update" + stripping the type-specific stack functions out ofGeoff Thorpe2000-06-011-0/+62
| | | | libeay.num and ssleay.num.
* The previous commit to crypto/stack/*.[ch] pulled the type-safety stringsGeoff Thorpe2000-06-011-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | yet tighter, and also put some heat on the rest of the library by insisting (correctly) that compare callbacks used in stacks are prototyped with "const" parameters. This has led to a depth-first explosion of compiler warnings in the code where 1 constification has led to 3 or 4 more. Fortunately these have all been resolved to completion and the code seems cleaner as a result - in particular many of the _cmp() functions should have been prototyped with "const"s, and now are. There was one little problem however; X509_cmp() should by rights compare "const X509 *" pointers, and it is now declared as such. However, it's internal workings can involve recalculating hash values and extensions if they have not already been setup. Someone with a more intricate understanding of the flow control of X509 might be able to tighten this up, but for now - this seemed the obvious place to stop the "depth-first" constification of the code by using an evil cast (they have migrated all the way here from safestack.h). Fortunately, this is the only place in the code where this was required to complete these type-safety changes, and it's reasonably clear and commented, and seemed the least unacceptable of the options. Trying to take the constification further ends up exploding out considerably, and indeed leads directly into generalised ASN functions which are not likely to cooperate well with this.
* sk_value was also suffering from de-const-ification.Geoff Thorpe2000-05-311-0/+2
| | | | Also, add in a couple of missing declarations in pkcs7 code.
* Typesafe Thought Police part 4.Ben Laurie2000-05-161-50/+56
|
* Get rid of more non-ANSI declarations.Ulf Möller2000-05-151-18/+18
|
* ispell (and minor modifications)Ulf Möller2000-02-031-1/+1
|
* Seek out and destroy another evil cast.Ulf Möller2000-01-301-2/+2
|
* New function RAND_pseudo_bytes() generated pseudorandom numbers thatUlf Möller2000-01-161-1/+1
| | | | are not guaranteed to be unpredictable.
* Avoid some warnings, and run "make update".Bodo Möller2000-01-141-3/+3
|
* Merge in my S/MIME library and utility.Dr. Stephen Henson1999-12-051-0/+673