Commit ac24bc54 authored by Steven Fackler's avatar Steven Fackler
Browse files

Fix warnings and build issues

parent 5adbe4b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ version = "0.5.0"
libc = "0.1"

[dev-dependencies]
rustc-serialize = "0.2"
rustc-serialize = "0.3"

[dependencies]
bitflags = "0.1.1"
+1 −2
Original line number Diff line number Diff line
#![feature(unsafe_destructor, core, io, std_misc, net, path, unique)]
#![cfg_attr(test, feature(net))]
#![feature(unsafe_destructor, core, io, std_misc, unique)]
#![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/openssl")]

#[macro_use]
+1 −1
Original line number Diff line number Diff line
@@ -521,7 +521,7 @@ make_validation_error!(X509_V_OK,
#[test]
fn test_negative_serial() {
    // I guess that's enough to get a random negative number
    for _ in range(0, 1000) {
    for _ in 0..1000 {
        assert!(X509Generator::random_serial() > 0, "All serials should be positive");
    }
}