CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
duplex_ssl.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_DUPLEX_SSL_H_
6 #define CVMFS_DUPLEX_SSL_H_
7 
8 #include <openssl/opensslv.h>
9 
10 #if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
11  #define OPENSSL_API_INTERFACE_V11
12  #if OPENSSL_VERSION_NUMBER >= 0x10101000L
13  #define OPENSSL_API_INTERFACE_V111
14  #endif
15 #elif OPENSSL_VERSION_NUMBER < 0x00908000L
16  #define OPENSSL_API_INTERFACE_V09
17 #else
18  #define OPENSSL_API_INTERFACE_V10
19 #endif
20 
21 #endif // CVMFS_DUPLEX_SSL_H_