aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2016-08-09 22:26:18 -0700
committerSteven Fackler <[email protected]>2016-08-09 22:26:18 -0700
commit966c5385ea3203a8c273b8000a23d4fc4145aeb5 (patch)
tree67a2a632708ff44ec1023b4eab14bfbee1db8967 /openssl/src
parentMove X509_get_extensions to openssl helpers (diff)
downloadrust-openssl-966c5385ea3203a8c273b8000a23d4fc4145aeb5.tar.xz
rust-openssl-966c5385ea3203a8c273b8000a23d4fc4145aeb5.zip
Fix build
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/dh/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/openssl/src/dh/mod.rs b/openssl/src/dh/mod.rs
index 101e2b0d..c0122d44 100644
--- a/openssl/src/dh/mod.rs
+++ b/openssl/src/dh/mod.rs
@@ -67,11 +67,11 @@ mod tests {
fn test_dh_rfc5114() {
let mut ctx = SslContext::new(Sslv23).unwrap();
let dh1 = DH::get_1024_160().unwrap();
- ctx.set_tmp_dh(dh1).unwrap();
+ ctx.set_tmp_dh(&dh1).unwrap();
let dh2 = DH::get_2048_224().unwrap();
- ctx.set_tmp_dh(dh2).unwrap();
+ ctx.set_tmp_dh(&dh2).unwrap();
let dh3 = DH::get_2048_256().unwrap();
- ctx.set_tmp_dh(dh3).unwrap();
+ ctx.set_tmp_dh(&dh3).unwrap();
}
#[test]