openssl/crypto/x509
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
..
.cvsignore Ignore Makefile.save 1999-04-29 16:04:54 +00:00
by_dir.c Seek out and destroy another evil cast. 2000-01-30 23:33:40 +00:00
by_file.c Make sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...) 2000-02-17 21:04:40 +00:00
Makefile.ssl "make update" 2000-04-09 12:52:40 +00:00
x509.h The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
x509_att.c Rename functions for new convention. 2000-02-26 01:55:33 +00:00
x509_cmp.c The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
x509_d2.c Report an error from X509_STORE_load_locations 1999-10-26 01:52:16 +00:00
x509_def.c Initial support for MacOS. 1999-09-11 17:54:18 +00:00
x509_err.c Preserve reason strings in automatically build tables. 2000-03-05 00:19:36 +00:00
x509_ext.c Rename the X509V3_*_d2i functions to X509_get_ext_d2i() etc. 2000-02-07 01:17:22 +00:00
x509_lu.c Source code cleanups: Use void * rather than char * in lhash, 2000-01-30 22:20:28 +00:00
x509_obj.c Support the EBCDIC character set and BS2000/OSD-POSIX (work in progress). 1999-06-04 21:35:58 +00:00
x509_r2x.c Replace the macros in asn1.h with function equivalents. Also make UTF8Strings 1999-10-20 01:50:23 +00:00
x509_req.c Rename functions for new convention. 2000-02-26 01:55:33 +00:00
x509_set.c Replace the macros in asn1.h with function equivalents. Also make UTF8Strings 1999-10-20 01:50:23 +00:00
x509_trs.c The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00
x509_txt.c Add trust setting support to the verify code. It now checks the 1999-11-27 19:43:10 +00:00
x509_v3.c Change the trust and purpose code so it doesn't need init 1999-12-02 02:33:56 +00:00
x509_vfy.c New compatability trust and purpose settings. 2000-03-07 14:04:29 +00:00
x509_vfy.h In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>, 2000-05-02 12:16:01 +00:00
x509name.c Make V_ASN1_APP_CHOOSE work again. 2000-03-14 03:29:57 +00:00
x509rset.c Change #include filenames from <foo.h> to <openssl.h>. 1999-04-23 22:13:45 +00:00
x509spki.c Fix warnings. 1999-09-06 11:06:54 +00:00
x509type.c Change #include filenames from <foo.h> to <openssl.h>. 1999-04-23 22:13:45 +00:00
x_all.c The previous commit to crypto/stack/*.[ch] pulled the type-safety strings 2000-06-01 02:36:58 +00:00