diff --git a/README.md b/README.md index 6ce18d045298619660ff8f97bda10022422df6a4..f0e15d5772350e6beee15283859c686794a52f38 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Build Status](https://travis-ci.org/sfackler/rust-openssl.svg?branch=master)](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 @@ -67,19 +67,15 @@ build script will skip the pkg-config step. ## Testing 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 -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 - test/key.pem > NUL` -* 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. +```bash +./openssl/test/test.sh +``` -For DTLS testing each test requires its own instance of OpenSSL's s_server. On -Linux you can run the bash script in `openssl/tests/test.sh`. +This will boot a bunch of `openssl s_server` processes that the tests connect +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 diff --git a/openssl-sys/Cargo.toml b/openssl-sys/Cargo.toml index fd1e425a98a73eb0eb6e064802a1c3636020dcfe..f3fbfc1823854f886759c707bc7165db34536d65 100644 --- a/openssl-sys/Cargo.toml +++ b/openssl-sys/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "openssl-sys" -version = "0.6.2" +version = "0.6.3" authors = ["Alex Crichton ", "Steven Fackler "] license = "MIT" description = "FFI bindings to 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" build = "build.rs" diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 8437a80f26bc858b8fa76e8e6f3c8382408028a9..d77264bec28c6278ef6a6239667ed9a87b3925c6 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1,6 +1,6 @@ #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] #![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; diff --git a/openssl/Cargo.toml b/openssl/Cargo.toml index a89e9f0c23f6c42c3eb45aad2d0bd51f1ae31ff7..c20977744353670e5c578b8b6c3e1fe8f47f7b5b 100644 --- a/openssl/Cargo.toml +++ b/openssl/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "openssl" -version = "0.6.2" +version = "0.6.3" authors = ["Steven Fackler "] license = "Apache-2.0" description = "OpenSSL bindings" 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" keywords = ["crypto", "tls", "ssl", "dtls"] @@ -20,7 +20,7 @@ npn = ["openssl-sys/npn"] [dependencies.openssl-sys] path = "../openssl-sys" -version = "0.6.2" +version = "0.6.3" [dependencies] bitflags = "0.2" diff --git a/openssl/src/lib.rs b/openssl/src/lib.rs index 4c9b176ae249d7cf1d6f24f36049d93efb840936..06c514a138ead471bd6101d8d6aa4c9f8e467ed8 100644 --- a/openssl/src/lib.rs +++ b/openssl/src/lib.rs @@ -1,4 +1,4 @@ -#![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] extern crate bitflags;