Unverified Commit a80c8efa authored by Jonas Platte's avatar Jonas Platte
Browse files

Re-group some imports

parent 7fdf90f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
//! Data accepted by this module will be smime type `enveloped-data`.

use foreign_types::{ForeignType, ForeignTypeRef};
use libc::c_uint;
use std::ptr;

use crate::bio::{MemBio, MemBioSlice};
@@ -15,7 +16,6 @@ use crate::stack::StackRef;
use crate::symm::Cipher;
use crate::x509::{X509Ref, X509};
use crate::{cvt, cvt_p};
use libc::c_uint;

bitflags! {
    pub struct CMSOptions : c_uint {
+1 −1
Original line number Diff line number Diff line
use crate::error::ErrorStack;
use foreign_types::{ForeignType, ForeignTypeRef};
use std::mem;
use std::ptr;

use crate::bn::{BigNum, BigNumRef};
use crate::error::ErrorStack;
use crate::pkey::{HasParams, HasPrivate, HasPublic, Params, Private};
use crate::{cvt, cvt_p};

+4 −3
Original line number Diff line number Diff line
use foreign_types::ForeignTypeRef;
use libc::c_int;
use std::ptr;

use crate::bio::{MemBio, MemBioSlice};
use crate::error::ErrorStack;
use crate::pkey::{HasPrivate, PKeyRef};
@@ -6,9 +10,6 @@ use crate::symm::Cipher;
use crate::x509::store::X509StoreRef;
use crate::x509::{X509Ref, X509};
use crate::{cvt, cvt_p};
use foreign_types::ForeignTypeRef;
use libc::c_int;
use std::ptr;

foreign_type_and_impl_send_sync! {
    type CType = ffi::PKCS7;