Skip to content

Commit 4a7d0df

Browse files
committed
Fixes
1 parent b643b34 commit 4a7d0df

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/sig.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2121

2222
// use crate::Result;
23-
use nss::ec::{Curve, PublicKey};
23+
use nss_rs::ec::{Curve, PublicKey};
2424
use nss_rs::HashAlgorithm;
2525

2626
/// A signature verification algorithm.

tests/init.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use nss_rs::init_db;
2424
dead_code,
2525
reason = "Code is bindgen-generated."
2626
)]
27-
mod nss {
27+
mod nss_init {
2828
use nss_rs::nss_prelude::*;
2929
include!(concat!(env!("OUT_DIR"), "/nss_init.rs"));
3030
}
@@ -35,7 +35,7 @@ fn init_nodb() {
3535
nss_rs::init().unwrap();
3636
assert_initialized();
3737
unsafe {
38-
assert_ne!(nss::NSS_IsInitialized(), 0);
38+
assert_ne!(nss_init::NSS_IsInitialized(), 0);
3939
}
4040
}
4141

@@ -45,6 +45,6 @@ fn init_withdb() {
4545
init_db(::test_fixture::NSS_DB_PATH).unwrap();
4646
assert_initialized();
4747
unsafe {
48-
assert_ne!(nss::NSS_IsInitialized(), 0);
48+
assert_ne!(nss_init::NSS_IsInitialized(), 0);
4949
}
5050
}

0 commit comments

Comments
 (0)