/* base definitions */ #ifndef BASE_H #define BASE_H #define XCA_TITLE "X Certificate and Key management" #include #ifdef WIN32 #include #endif #include #if OPENSSL_VERSION_NUMBER >= 0x00908000L #define D2I_CLASH(f, a, PP, s) f(a,PP,s) #define D2I_CLASHT(f, t, a, PP, s) f(t,a,PP,s) #else #define D2I_CLASH(f, a, PP, s) f(a,(unsigned char **)PP,s) #define D2I_CLASHT(f, t, a, PP, s) f(t,a,(unsigned char **)PP,s) #endif #define CCHAR(x) ((const char *)(x).toAscii().constData()) #endif //#define TRACE printf("File: "__FILE__" Func: %s Line: %d\n",__func__, __LINE__); #define TRACE