openssl/crypto
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
..
asn1 The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
bf Remove "Makefile.uni" files and some related stuff. 2000-03-14 13:56:00 +00:00
bio Typesafe Thought Police part 4. 2000-05-16 23:01:19 +00:00
bn In some of the Makefiles CPP was not defined. 2000-03-20 18:16:52 +00:00
buffer Preserve reason strings in automatically build tables. 2000-03-05 00:19:36 +00:00
cast _lrotl and _lrotr are defined in MSVC but nowhere else that we know 2000-04-01 10:39:33 +00:00
comp In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
conf This declaration seems to have been added into the header file accidently. 2000-05-29 03:17:45 +00:00
des #include <stdio.h> not needed. 2000-05-31 22:25:44 +00:00
dh In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
dsa In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
dso another warning. 2000-05-29 04:20:52 +00:00
err Add DSA library string. Workaround for IIS .key file invalid 2000-05-24 13:09:59 +00:00
evp More EVP cipher revision. 2000-05-30 18:26:22 +00:00
hmac In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
idea In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
lhash In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
md2 In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
md5 FLAT_INC is not needed; we use -I.. all the time 2000-03-19 12:15:24 +00:00
mdc2 In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
objects In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
pem In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
perlasm Move the 'file scope' argument in set_label to 2000-03-03 00:06:40 +00:00
pkcs7 The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
pkcs12 Typesafety Thought Police part 3. 2000-05-16 21:22:45 +00:00
rand Move Windows seeding functions into a separate file. 2000-05-31 12:48:35 +00:00
rc2 In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
rc4 In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
rc5 _lrotl and _lrotr are defined in MSVC but nowhere else that we know 2000-04-01 10:39:33 +00:00
ripemd FLAT_INC is not needed; we use -I.. all the time 2000-03-19 12:15:24 +00:00
rsa In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
sha In some of the Makefiles CPP was not defined. 2000-03-20 18:16:52 +00:00
stack This is the first of two commits (didn't want to dump them all into the 2000-06-01 02:15:40 +00:00
threads A small script to compile mttest.c on VMS as well. 2000-02-26 11:17:33 +00:00
txt_db In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
x509 The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
x509v3 The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
.cvsignore Always use buildinf.h, which now includes the mk1mfinf.h data. 1999-07-29 12:57:23 +00:00
cpt_err.c Preserve reason strings in automatically build tables. 2000-03-05 00:19:36 +00:00
cryptlib.c This commit ties the new DSO code (crypto/dso/) into the build for a 2000-04-04 22:32:19 +00:00
cryptlib.h In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:35:04 +00:00
crypto-lib.com This commit ties the new DSO code (crypto/dso/) into the build for a 2000-04-04 22:32:19 +00:00
crypto.h is needed. 2000-06-01 00:27:59 +00:00
cversion.c Always use buildinf.h, which now includes the mk1mfinf.h data. 1999-07-29 12:57:23 +00:00
ebcdic.c Add new -notext option to 'ca', -pubkey option to spkac. 2000-02-03 02:56:48 +00:00
ebcdic.h EBCDIC support. 2000-02-01 02:21:16 +00:00
ex_data.c Tidy up CRYPTO_EX_DATA structures. 2000-01-23 23:41:49 +00:00
install.com Make sure installed files are world readable 1999-11-12 01:42:59 +00:00
Makefile.ssl This commit ties the new DSO code (crypto/dso/) into the build for a 2000-04-04 22:32:19 +00:00
md32_common.h Fix signed/unsigned warnings. 2000-02-16 12:09:17 +00:00
mem_dbg.c In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 13:36:50 +00:00
mem.c In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 13:36:50 +00:00
opensslconf.h.in Cosmetic change. No, openssl.h.in is not autogenerated :-) 2000-02-18 09:06:55 +00:00
opensslv.h Tagging has now been done, update to the next possible version (I keep 2000-04-01 11:21:14 +00:00
tmdiff.c Remove redundant ifdef. 1999-05-13 13:29:41 +00:00
tmdiff.h Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00