diff options
author | Jonas Platte <jplatte+git@posteo.de> | 2020-12-31 19:56:30 +0100 |
---|---|---|
committer | Jonas Platte <jplatte+git@posteo.de> | 2021-01-01 04:11:43 +0100 |
commit | 3d2ac91667be6fcb36961de3a9744ebb2914f044 (patch) | |
tree | a9ab8f1a1bdf3b408621e6dce386cc255fe3e82e /openssl/src/x509/store.rs | |
parent | d68077d2d581fd11b19ae433703dd0106f5aa0c7 (diff) | |
download | rust-openssl-3d2ac91667be6fcb36961de3a9744ebb2914f044.zip |
Use crate in imports in the openssl crate
This was mostly automated using `cargo fix --edition`, except imports of
openssl_sys (renamed to ffi) were converted to crate::ffi, which was
reverted.
The same thing is not done for the openssl-sys crate because this breaks
ctest (used in systest to verify the -sys crate), see
https://github.com/gnzlbg/ctest/issues/70
Diffstat (limited to 'openssl/src/x509/store.rs')
-rw-r--r-- | openssl/src/x509/store.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl/src/x509/store.rs b/openssl/src/x509/store.rs index 5ae62321..2b7a74a3 100644 --- a/openssl/src/x509/store.rs +++ b/openssl/src/x509/store.rs @@ -44,10 +44,10 @@ use ffi; use foreign_types::ForeignTypeRef; use std::mem; -use error::ErrorStack; -use stack::StackRef; -use x509::{X509Object, X509}; -use {cvt, cvt_p}; +use crate::error::ErrorStack; +use crate::stack::StackRef; +use crate::x509::{X509Object, X509}; +use crate::{cvt, cvt_p}; foreign_type_and_impl_send_sync! { type CType = ffi::X509_STORE; |