Loading README.md +9 −13 Original line number Original line Diff line number Diff line Loading @@ -2,7 +2,7 @@ [](https://travis-ci.org/sfackler/rust-openssl) [](https://travis-ci.org/sfackler/rust-openssl) See the [rustdoc output](https://sfackler.github.io/rust-openssl/doc/openssl). [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl). ## Building ## Building Loading Loading @@ -67,19 +67,15 @@ build script will skip the pkg-config step. ## Testing ## Testing Several tests expect a local test server to be running to bounce requests off Several tests expect a local test server to be running to bounce requests off of. It's easy to do this. Open a separate terminal window and `cd` to the of. It's easy to do this. Open a separate terminal window and `cd` to the rust-openssl directory. Then run one of the following commands: rust-openssl directory. Then run one of the following command: * Windows: `openssl s_server -accept 15418 -www -cert test/cert.pem -key ```bash test/key.pem > NUL` ./openssl/test/test.sh * Linux: `openssl s_server -accept 15418 -www -cert test/cert.pem -key ``` test/key.pem >/dev/null` Then in the original terminal, run `cargo test`. If everything is set up correctly, all tests should pass. You might get some warnings in the `openssl s_server` window. Those aren't anything to worry about. You can stop the server using Control-C. For DTLS testing each test requires its own instance of OpenSSL's s_server. On This will boot a bunch of `openssl s_server` processes that the tests connect Linux you can run the bash script in `openssl/tests/test.sh`. to. Then in the original terminal, run `cargo test`. If everything is set up correctly, all tests should pass. You can stop the servers with `killall openssl`. [1]: http://slproweb.com/products/Win32OpenSSL.html [1]: http://slproweb.com/products/Win32OpenSSL.html openssl-sys/Cargo.toml +2 −2 Original line number Original line Diff line number Diff line [package] [package] name = "openssl-sys" name = "openssl-sys" version = "0.6.2" version = "0.6.3" authors = ["Alex Crichton <alex@alexcrichton.com>", authors = ["Alex Crichton <alex@alexcrichton.com>", "Steven Fackler <sfackler@gmail.com>"] "Steven Fackler <sfackler@gmail.com>"] license = "MIT" license = "MIT" description = "FFI bindings to OpenSSL" description = "FFI bindings to OpenSSL" repository = "https://github.com/sfackler/rust-openssl" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/openssl_sys" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl_sys" links = "openssl" links = "openssl" build = "build.rs" build = "build.rs" Loading openssl-sys/src/lib.rs +1 −1 Original line number Original line Diff line number Diff line #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] #![allow(dead_code)] #![allow(dead_code)] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.6.3")] extern crate libc; extern crate libc; Loading openssl/Cargo.toml +3 −3 Original line number Original line Diff line number Diff line [package] [package] name = "openssl" name = "openssl" version = "0.6.2" version = "0.6.3" authors = ["Steven Fackler <sfackler@gmail.com>"] authors = ["Steven Fackler <sfackler@gmail.com>"] license = "Apache-2.0" license = "Apache-2.0" description = "OpenSSL bindings" description = "OpenSSL bindings" repository = "https://github.com/sfackler/rust-openssl" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl" readme = "../README.md" readme = "../README.md" keywords = ["crypto", "tls", "ssl", "dtls"] keywords = ["crypto", "tls", "ssl", "dtls"] Loading @@ -20,7 +20,7 @@ npn = ["openssl-sys/npn"] [dependencies.openssl-sys] [dependencies.openssl-sys] path = "../openssl-sys" path = "../openssl-sys" version = "0.6.2" version = "0.6.3" [dependencies] [dependencies] bitflags = "0.2" bitflags = "0.2" Loading openssl/src/lib.rs +1 −1 Original line number Original line Diff line number Diff line #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.6.3")] #[macro_use] #[macro_use] extern crate bitflags; extern crate bitflags; Loading Loading
README.md +9 −13 Original line number Original line Diff line number Diff line Loading @@ -2,7 +2,7 @@ [](https://travis-ci.org/sfackler/rust-openssl) [](https://travis-ci.org/sfackler/rust-openssl) See the [rustdoc output](https://sfackler.github.io/rust-openssl/doc/openssl). [Documentation](https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl). ## Building ## Building Loading Loading @@ -67,19 +67,15 @@ build script will skip the pkg-config step. ## Testing ## Testing Several tests expect a local test server to be running to bounce requests off Several tests expect a local test server to be running to bounce requests off of. It's easy to do this. Open a separate terminal window and `cd` to the of. It's easy to do this. Open a separate terminal window and `cd` to the rust-openssl directory. Then run one of the following commands: rust-openssl directory. Then run one of the following command: * Windows: `openssl s_server -accept 15418 -www -cert test/cert.pem -key ```bash test/key.pem > NUL` ./openssl/test/test.sh * Linux: `openssl s_server -accept 15418 -www -cert test/cert.pem -key ``` test/key.pem >/dev/null` Then in the original terminal, run `cargo test`. If everything is set up correctly, all tests should pass. You might get some warnings in the `openssl s_server` window. Those aren't anything to worry about. You can stop the server using Control-C. For DTLS testing each test requires its own instance of OpenSSL's s_server. On This will boot a bunch of `openssl s_server` processes that the tests connect Linux you can run the bash script in `openssl/tests/test.sh`. to. Then in the original terminal, run `cargo test`. If everything is set up correctly, all tests should pass. You can stop the servers with `killall openssl`. [1]: http://slproweb.com/products/Win32OpenSSL.html [1]: http://slproweb.com/products/Win32OpenSSL.html
openssl-sys/Cargo.toml +2 −2 Original line number Original line Diff line number Diff line [package] [package] name = "openssl-sys" name = "openssl-sys" version = "0.6.2" version = "0.6.3" authors = ["Alex Crichton <alex@alexcrichton.com>", authors = ["Alex Crichton <alex@alexcrichton.com>", "Steven Fackler <sfackler@gmail.com>"] "Steven Fackler <sfackler@gmail.com>"] license = "MIT" license = "MIT" description = "FFI bindings to OpenSSL" description = "FFI bindings to OpenSSL" repository = "https://github.com/sfackler/rust-openssl" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/openssl_sys" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl_sys" links = "openssl" links = "openssl" build = "build.rs" build = "build.rs" Loading
openssl-sys/src/lib.rs +1 −1 Original line number Original line Diff line number Diff line #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] #![allow(dead_code)] #![allow(dead_code)] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.6.3")] extern crate libc; extern crate libc; Loading
openssl/Cargo.toml +3 −3 Original line number Original line Diff line number Diff line [package] [package] name = "openssl" name = "openssl" version = "0.6.2" version = "0.6.3" authors = ["Steven Fackler <sfackler@gmail.com>"] authors = ["Steven Fackler <sfackler@gmail.com>"] license = "Apache-2.0" license = "Apache-2.0" description = "OpenSSL bindings" description = "OpenSSL bindings" repository = "https://github.com/sfackler/rust-openssl" repository = "https://github.com/sfackler/rust-openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/openssl" documentation = "https://sfackler.github.io/rust-openssl/doc/v0.6.3/openssl" readme = "../README.md" readme = "../README.md" keywords = ["crypto", "tls", "ssl", "dtls"] keywords = ["crypto", "tls", "ssl", "dtls"] Loading @@ -20,7 +20,7 @@ npn = ["openssl-sys/npn"] [dependencies.openssl-sys] [dependencies.openssl-sys] path = "../openssl-sys" path = "../openssl-sys" version = "0.6.2" version = "0.6.3" [dependencies] [dependencies] bitflags = "0.2" bitflags = "0.2" Loading
openssl/src/lib.rs +1 −1 Original line number Original line Diff line number Diff line #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc")] #![doc(html_root_url="https://sfackler.github.io/rust-openssl/doc/v0.6.3")] #[macro_use] #[macro_use] extern crate bitflags; extern crate bitflags; Loading