Skip to content
Snippets Groups Projects
Unverified Commit 076e3d63 authored by Steven Fackler's avatar Steven Fackler
Browse files

Restore import

parent c0ef4151
Branches
Tags
No related merge requests found
......@@ -8,6 +8,8 @@ cfg_if! {
if #[cfg(any(ossl110, libressl273))] {
use ffi::{EVP_CIPHER_block_size, EVP_CIPHER_iv_length, EVP_CIPHER_key_length};
} else {
use libc::c_int;
#[allow(bad_style)]
pub unsafe fn EVP_CIPHER_iv_length(ptr: *const ffi::EVP_CIPHER) -> c_int {
(*ptr).iv_len
......
......@@ -735,6 +735,8 @@ cfg_if! {
if #[cfg(any(ossl110, libressl273))] {
use ffi::{EVP_CIPHER_block_size, EVP_CIPHER_iv_length, EVP_CIPHER_key_length};
} else {
use libc::c_int;
#[allow(bad_style)]
pub unsafe fn EVP_CIPHER_iv_length(ptr: *const ffi::EVP_CIPHER) -> c_int {
(*ptr).iv_len
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment