The STACK macros take care of casting to and from the designated item type
authorGeoff Thorpe <geoff@openssl.org>
Mon, 1 Oct 2001 16:26:00 +0000 (16:26 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Mon, 1 Oct 2001 16:26:00 +0000 (16:26 +0000)
commit5c32657c80d6d53618002019be679bc5816aef75
tree97d069f98c7ead4b866e8f7ab1e34a05f6af30ff
parent07cee70258d43719f2d243ce667334ee5239463a
The STACK macros take care of casting to and from the designated item type
of the stack, and the (void *) type used in the underlying sk_***
functions.  However, declaring a STACK_OF(type) where type is a *function*
type implicitly involves casts between function pointers and data pointers.
That's a no-no. This changes the ENGINE_CLEANUP handling to use a regular
data type in the stack.
crypto/engine/eng_int.h
crypto/engine/eng_lib.c