diff options
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, |