summaryrefslogtreecommitdiff
path: root/openssl/src/dh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/dh.rs')
-rw-r--r--openssl/src/dh.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/openssl/src/dh.rs b/openssl/src/dh.rs
index 111795d5..ecb703b5 100644
--- a/openssl/src/dh.rs
+++ b/openssl/src/dh.rs
@@ -1,12 +1,12 @@
-use error::ErrorStack;
-use ffi;
+use cfg_if::cfg_if;
use foreign_types::{ForeignType, ForeignTypeRef};
use std::mem;
use std::ptr;
-use bn::{BigNum, BigNumRef};
-use pkey::{HasParams, HasPrivate, HasPublic, Params, Private};
-use {cvt, cvt_p};
+use crate::bn::{BigNum, BigNumRef};
+use crate::error::ErrorStack;
+use crate::pkey::{HasParams, HasPrivate, HasPublic, Params, Private};
+use crate::{cvt, cvt_p};
generic_foreign_type_and_impl_send_sync! {
type CType = ffi::DH;
@@ -297,9 +297,9 @@ cfg_if! {
#[cfg(test)]
mod tests {
- use bn::BigNum;
- use dh::Dh;
- use ssl::{SslContext, SslMethod};
+ use crate::bn::BigNum;
+ use crate::dh::Dh;
+ use crate::ssl::{SslContext, SslMethod};
#[test]
#[cfg(ossl102)]