remove const; refs #20

This commit is contained in:
Marc Wäckerlin
2012-06-08 09:38:14 +00:00
parent d87b29698a
commit 04b52e2824

View File

@@ -24,17 +24,20 @@
#ifndef OPENSSL_VERSION_NUMBER
# error OpenSSL Version Number not Found
#elif OPENSSL_VERSION_NUMBER < 0x00908000L
# define OPENSSL_0
# warning OpenSSL older than 0.8 detected
# define OPENSSL_0_7
# define V0_CONST
# define CV_STACK
# define CV_X509
#elif OPENSSL_VERSION_NUMBER < 0x10000000L
# define OPENSSL_0
# warning OpenSSL 0.8 detected
# define OPENSSL_0_8
# define V0_CONST const
# define CV_STACK
# define CV_X509
#else
# define OPENSSL_1
# warning current OpenSSL 1.0 detected
# define OPENSSL_1_0
# define V0_CONST const
# define CV_STACK (_STACK*)
# define CV_X509 (STACK_OF(X509)*)