openssl/crypto
Geoff Thorpe 7bb7043580 This is the first of two commits (didn't want to dump them all into the
same one). However, the first will temporarily break things until the
second comes through. :-)

The safestack.h handling was mapping compare callbacks that externally
are of the type (int (*)(type **,type **)) into the underlying callback
type used by stack.[ch], which is (int (*)(void *,void *)). After some
degree of digging, it appears that the callback type in the underlying
stack code should use double pointers too - when the compare operations
are invoked (from sk_find and sk_sort), they are being used by bsearch
and qsort to compare two pointers to pointers. This change corrects the
prototyping (by only casting to the (void*,void*) form at the moment
it is needed by bsearch and qsort) and makes the mapping in safestack.h
more transparent. It also changes from "void*" to "char*" to stay in
keeping with stack.[ch]'s assumed base type of "char".

Also - the "const" situation was that safestack.h was throwing away
"const"s, and to compound the problem - a close examination of stack.c
showed that (const char **) is not really achieving what it is supposed
to when the callback is being invoked, what is needed is
(const char * const *). So the underlying stack.[ch] and the mapping
macros in safestack.h have all been altered to correct this.

What will follow are the vast quantities of "const" corrections required
in stack-dependant code that was being let "slip" through when
safestack.h was discarding "const"s. These now all come up as compiler
warnings.
2000-06-01 02:15:40 +00:00
..
asn1 sk_***_new_null() seems to be there to avoid exactly this sort of thing 2000-05-31 17:41:34 +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 sk_value was also suffering from de-const-ification. 2000-05-31 17:35:11 +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 Fix c_rehash script, add -fingerprint option to crl. 2000-05-18 00:33:00 +00:00
x509v3 Typesafety Thought Police last part. 2000-05-17 10:08:05 +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