|
|
@ -23,11 +23,16 @@ |
|
|
|
#include <openssl/opensslv.h> |
|
|
|
#include <openssl/opensslv.h> |
|
|
|
#ifndef OPENSSL_VERSION_NUMBER |
|
|
|
#ifndef OPENSSL_VERSION_NUMBER |
|
|
|
# error OpenSSL Version Number not Found |
|
|
|
# error OpenSSL Version Number not Found |
|
|
|
#elif OPENSSL_VERSION_NUMBER < 0x10000000L |
|
|
|
#elif OPENSSL_VERSION_NUMBER < 0x00908000L |
|
|
|
# define OPENSSL_0 |
|
|
|
# define OPENSSL_0 |
|
|
|
# define V0_CONST |
|
|
|
# define V0_CONST |
|
|
|
# define CV_STACK |
|
|
|
# define CV_STACK |
|
|
|
# define CV_X509 |
|
|
|
# define CV_X509 |
|
|
|
|
|
|
|
#elif OPENSSL_VERSION_NUMBER < 0x10000000L |
|
|
|
|
|
|
|
# define OPENSSL_0 |
|
|
|
|
|
|
|
# define V0_CONST const |
|
|
|
|
|
|
|
# define CV_STACK |
|
|
|
|
|
|
|
# define CV_X509 |
|
|
|
#else |
|
|
|
#else |
|
|
|
# define OPENSSL_1 |
|
|
|
# define OPENSSL_1 |
|
|
|
# define V0_CONST const |
|
|
|
# define V0_CONST const |
|
|
|