summaryrefslogtreecommitdiffstats
path: root/crypto/stack
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-05-14 12:58:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-05-14 12:58:20 +0000
commit8ccd06c66c948916a5a3984087860e297f49051d (patch)
tree08da2fdaaa29244a9cd87c5df4701a7e39581fd7 /crypto/stack
parentfe86616c722b36256d853bb5f16fc75b489716aa (diff)
openssl_fcast should always be defined, not just with DEBUG_SAFESTACK
Diffstat (limited to 'crypto/stack')
-rw-r--r--crypto/stack/safestack.h4
1 files changed, 2 insertions, 2 deletions
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 <openssl/stack.h>
-#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);