diff options
| author | Tatsuyuki Ishi <[email protected]> | 2018-09-25 16:17:12 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <[email protected]> | 2018-09-25 22:00:20 +0900 |
| commit | 3b73dda4b31c2b8ea8417fb6d68e451d2e4b3633 (patch) | |
| tree | 82bdb5ed14597ed275a4a7459e170872edde34b5 /openssl/src/string.rs | |
| parent | Raise requirement to 1.21.0 (diff) | |
| download | rust-openssl-0.9.x.tar.xz rust-openssl-0.9.x.zip | |
Add support for OpenSSL 1.1.10.9.x
Diffstat (limited to 'openssl/src/string.rs')
| -rw-r--r-- | openssl/src/string.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |