mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
29 lines
641 B
C
29 lines
641 B
C
/* base definitions */
|
|
|
|
#ifndef BASE_H
|
|
#define BASE_H
|
|
|
|
#define XCA_TITLE "X Certificate and Key management"
|
|
|
|
#include <Qt/qglobal.h>
|
|
|
|
#ifdef WIN32
|
|
#include <windows.h>
|
|
#endif
|
|
|
|
#include <openssl/opensslv.h>
|
|
|
|
#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
|