diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-18 10:51:12 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-18 10:51:12 (GMT) |
commit | 303acfc64f2f656729bde803a410a10a80a76b40 (patch) | |
tree | 9bcc6015490531921ad5794ac55382a3a0aa96ee /plugins/common.h | |
parent | 1723a3c7610cc43438c51d1e5fed43e15099a60e (diff) | |
parent | fe1c4bb0e5ea3632d608a6b8b7e51d580856d833 (diff) | |
download | monitoring-plugins-303acfc64f2f656729bde803a410a10a80a76b40.tar.gz |
Merge remote-tracking branch 'monitoring-plugins/pr/1443'
* monitoring-plugins/pr/1443:
add openssl 1.1 support
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h index 01003b3..8719b50 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -161,6 +161,13 @@ | |||
161 | # endif | 161 | # endif |
162 | #endif | 162 | #endif |
163 | 163 | ||
164 | /* openssl 1.1 does not set OPENSSL_NO_SSL2 by default but ships without ssl2 */ | ||
165 | #ifdef OPENSSL_VERSION_NUMBER | ||
166 | # if OPENSSL_VERSION_NUMBER >= 0x10100000 | ||
167 | # define OPENSSL_NO_SSL2 | ||
168 | # endif | ||
169 | #endif | ||
170 | |||
164 | /* | 171 | /* |
165 | * | 172 | * |
166 | * Standard Values | 173 | * Standard Values |