Fix clippy warning.

This commit is contained in:
Gabriela Alexandra Moldovan 2021-01-08 13:05:36 +00:00
parent 51e36d1f1a
commit 12d6a27104
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ fn ctx(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> {
// This is quite a useful optimization for saving memory, but historically // This is quite a useful optimization for saving memory, but historically
// caused CVEs in OpenSSL pre-1.0.1h, according to // caused CVEs in OpenSSL pre-1.0.1h, according to
// https://bugs.python.org/issue25672 // https://bugs.python.org/issue25672
if version::number() >= 0x1_00_01_08_0 { if version::number() >= 0x1000_1080 {
mode |= SslMode::RELEASE_BUFFERS; mode |= SslMode::RELEASE_BUFFERS;
} }