Safe stack reorganisation in terms of function casts.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 16 Jun 2000 23:29:26 +0000 (23:29 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 16 Jun 2000 23:29:26 +0000 (23:29 +0000)
commit3aceb94b9e6ac4722b96d4fb1cf7e1a4358941e0
tree9adfd28b708d52c0f0efac181d7cfadc0f1ecb9a
parentfb3e1eeb9364bc4d895cbdc5c048831cc7790c20
Safe stack reorganisation in terms of function casts.

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.
17 files changed:
CHANGES
crypto/asn1/asn1.h
crypto/bio/bio.h
crypto/conf/conf.h
crypto/crypto.h
crypto/objects/o_names.c
crypto/pkcs12/pkcs12.h
crypto/pkcs7/pk7_mime.c
crypto/pkcs7/pkcs7.h
crypto/stack/safestack.h
crypto/stack/stack.c
crypto/stack/stack.h
crypto/x509/x509.h
crypto/x509/x509_vfy.h
crypto/x509v3/x509v3.h
ssl/ssl.h
util/mkstack.pl