summaryrefslogtreecommitdiff
path: root/openssl/src/sign.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2017-12-25 19:38:00 -0700
committerSteven Fackler <sfackler@gmail.com>2017-12-25 19:38:11 -0700
commitbbae793eb3ba06e5ad8813ce8182e52fb4a2abd3 (patch)
treeed619314cb51bc7597c3ac1a4ab3ea864f766d24 /openssl/src/sign.rs
parent2aaba8bd7ac9953edc0d86f9575862412ac26d98 (diff)
downloadrust-openssl-bbae793eb3ba06e5ad8813ce8182e52fb4a2abd3.zip
Upgrade bitflags to 1.0
Closes #756
Diffstat (limited to 'openssl/src/sign.rs')
-rw-r--r--openssl/src/sign.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/sign.rs b/openssl/src/sign.rs
index a90d1570..3155463a 100644
--- a/openssl/src/sign.rs
+++ b/openssl/src/sign.rs
@@ -353,7 +353,7 @@ mod test {
use hash::MessageDigest;
use sign::{Signer, Verifier};
use ec::{EcGroup, EcKey};
- use nid;
+ use nid::Nid;
use rsa::{PKCS1_PADDING, Rsa};
use dsa::Dsa;
use pkey::PKey;
@@ -569,7 +569,7 @@ mod test {
#[test]
fn ec() {
- let group = EcGroup::from_curve_name(nid::X9_62_PRIME256V1).unwrap();
+ let group = EcGroup::from_curve_name(Nid::X9_62_PRIME256V1).unwrap();
let key = EcKey::generate(&group).unwrap();
let key = PKey::from_ec_key(key).unwrap();