Commit 8ccd06c6 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

openssl_fcast should always be defined, not just with DEBUG_SAFESTACK

parent fe86616c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);