openssl_fcast should always be defined, not just with DEBUG_SAFESTACK
authorDr. Stephen Henson <steve@openssl.org>
Sat, 14 May 2005 12:58:20 +0000 (12:58 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 14 May 2005 12:58:20 +0000 (12:58 +0000)
crypto/stack/safestack.h

index af2b423f9703e8e064685de934d2e208bfe8d051..e5f5be9f9c11ff3405e270885b3f9dccb97f1ca6 100644 (file)
 
 #include <openssl/stack.h>
 
 
 #include <openssl/stack.h>
 
-#ifdef DEBUG_SAFESTACK
-
 typedef void (*openssl_fptr)(void);
 #define openssl_fcast(f) ((openssl_fptr)f)
 
 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);
 
 #define STACK_OF(type) struct stack_st_##type
 #define PREDECLARE_STACK_OF(type) STACK_OF(type);