diff options
author | Geoff Thorpe <geoff@openssl.org> | 2000-12-08 20:02:01 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2000-12-08 20:02:01 +0000 |
commit | d0fa136ce22bb57638a1bf18e656602f53081ff3 (patch) | |
tree | b28c81ccdfe238a0e655b3ab906095a7589c133b /test/bctest | |
parent | 15156cce0eed843d74ca06392144cad29c306ff7 (diff) |
Next step in tidying up the LHASH code.
DECLARE/IMPLEMENT macros now exist to create type (and prototype) safe
wrapper functions that avoid the use of function pointer casting yet retain
type-safety for type-specific callbacks. However, most of the usage within
OpenSSL itself doesn't really require the extra function because the hash
and compare callbacks are internal functions declared only for use by the
hash table. So this change catches all those cases and reimplements the
functions using the base-level LHASH prototypes and does per-variable
casting inside those functions to convert to the appropriate item type.
The exception so far is in ssl_lib.c where the hash and compare callbacks
are not static - they're exposed in ssl.h so their prototypes should not be
changed. In this last case, the IMPLEMENT_LHASH_*** macros have been left
intact.
Diffstat (limited to 'test/bctest')
0 files changed, 0 insertions, 0 deletions