|
|
|
@ -25,9 +25,9 @@ |
|
|
|
|
# error OpenSSL Version Number not Found |
|
|
|
|
#elif OPENSSL_VERSION_NUMBER < 0x00908000L |
|
|
|
|
# ifdef ALLOW_SSL_OLDER_THAN_0_8 |
|
|
|
|
# warning OpenSSL older than 0.8 detected |
|
|
|
|
# warning OpenSSL older than 0.8 detected please upgrade to 1.0 |
|
|
|
|
# else |
|
|
|
|
# error OpenSSL older than 0.8 detected |
|
|
|
|
# error OpenSSL older than 0.8 detected please upgrade to 1.0 |
|
|
|
|
# endif |
|
|
|
|
# define OPENSSL_0_7 |
|
|
|
|
# define V0_CONST |
|
|
|
@ -35,16 +35,15 @@ |
|
|
|
|
# define CV_X509 |
|
|
|
|
#elif OPENSSL_VERSION_NUMBER < 0x10000000L |
|
|
|
|
# ifdef ALLOW_SSL_0_8 |
|
|
|
|
# warning OpenSSL 0.8 detected |
|
|
|
|
# warning OpenSSL 0.8 detected please upgrade to 1.0 |
|
|
|
|
# else |
|
|
|
|
# error OpenSSL 0.8 detected |
|
|
|
|
# error OpenSSL 0.8 detected please upgrade to 1.0 |
|
|
|
|
# endif |
|
|
|
|
# define OPENSSL_0_8 |
|
|
|
|
# define V0_CONST const |
|
|
|
|
# define CV_STACK |
|
|
|
|
# define CV_X509 |
|
|
|
|
#else |
|
|
|
|
# warning current OpenSSL 1.0 detected |
|
|
|
|
# define OPENSSL_1_0 |
|
|
|
|
# define V0_CONST const |
|
|
|
|
# define CV_STACK (_STACK*) |
|
|
|
|