From: Dr. Stephen Henson Date: Sat, 14 May 2005 12:58:20 +0000 (+0000) Subject: openssl_fcast should always be defined, not just with DEBUG_SAFESTACK X-Git-Tag: OpenSSL_0_9_8-beta1~13^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8ccd06c66c948916a5a3984087860e297f49051d;p=oweals%2Fopenssl.git openssl_fcast should always be defined, not just with DEBUG_SAFESTACK --- diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index af2b423f97..e5f5be9f9c 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -57,11 +57,11 @@ #include -#ifdef DEBUG_SAFESTACK - typedef void (*openssl_fptr)(void); #define openssl_fcast(f) ((openssl_fptr)f) +#ifdef DEBUG_SAFESTACK + #define STACK_OF(type) struct stack_st_##type #define PREDECLARE_STACK_OF(type) STACK_OF(type);