From 3b73dda4b31c2b8ea8417fb6d68e451d2e4b3633 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Tue, 25 Sep 2018 16:17:12 +0900 Subject: Add support for OpenSSL 1.1.1 --- openssl/src/string.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openssl/src/string.rs') diff --git a/openssl/src/string.rs b/openssl/src/string.rs index af58130e..e24d8720 100644 --- a/openssl/src/string.rs +++ b/openssl/src/string.rs @@ -67,12 +67,12 @@ impl fmt::Debug for OpensslStringRef { } } -#[cfg(not(ossl110))] +#[cfg(not(ossl11x))] unsafe fn free(buf: *mut c_char) { ::ffi::CRYPTO_free(buf as *mut c_void); } -#[cfg(ossl110)] +#[cfg(ossl11x)] unsafe fn free(buf: *mut c_char) { ::ffi::CRYPTO_free( buf as *mut c_void, -- cgit v1.2.3