openssl/crypto/pkcs7
Geoff Thorpe ccd86b68ef The previous commit to crypto/stack/*.[ch] pulled the type-safety strings
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.
2000-06-01 02:36:58 +00:00
..
p7 Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
t Remove more old temporary files from CVS 1998-12-31 21:51:27 +00:00
.cvsignore Test apps. 1999-06-04 21:31:48 +00:00
bio_ber.c Move the registration of callback functions to special functions 2000-02-20 23:43:02 +00:00
dec.c Rename SSLeay_add_all_algorithms() et al to 2000-02-04 14:01:38 +00:00
des.pem Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
doc Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
enc.c Rename SSLeay_add_all_algorithms() et al to 2000-02-04 14:01:38 +00:00
es1.pem Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
example.c Avoid silly compiler warnings about functions not being declared and an int missing. 1999-11-12 02:10:23 +00:00
example.h Make samples compile. 1999-06-03 16:07:37 +00:00
info.pem Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
infokey.pem Import of old SSLeay release: SSLeay 0.9.1b (unreleased) 1998-12-21 11:00:56 +00:00
Makefile.ssl "make update" 2000-04-09 12:52:40 +00:00
pk7_attr.c Yet more typesafety. 2000-05-21 15:21:55 +00:00
pk7_dgst.c Change #include filenames from <foo.h> to <openssl.h>. 1999-04-23 22:13:45 +00:00
pk7_doit.c Beginnings of EVP cipher overhaul. This should eventually 2000-05-26 23:51:35 +00:00
pk7_enc.c Change #include filenames from <foo.h> to <openssl.h>. 1999-04-23 22:13:45 +00:00
pk7_lib.c Make pkcs8 work again. 2000-02-22 18:45:11 +00:00
pk7_mime.c The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
pk7_smime.c Typesafe Thought Police part 4. 2000-05-16 23:01:19 +00:00
pkcs7.h Yet more typesafety. 2000-05-21 15:21:55 +00:00
pkcs7err.c Preserve reason strings in automatically build tables. 2000-03-05 00:19:36 +00:00
server.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
sign.c make no-des and no-rc2 work. 2000-01-07 12:15:54 +00:00
verify.c make no-des and no-rc2 work. 2000-01-07 12:15:54 +00:00