Release v0.6.3
This commit is contained in:
parent
212acf0bb8
commit
524c1e63aa
22
README.md
22
README.md
|
|
@ -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
|
||||||
|
|
||||||
|
|
@ -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
|
This will boot a bunch of `openssl s_server` processes that the tests connect
|
||||||
correctly, all tests should pass. You might get some warnings in the `openssl
|
to. Then in the original terminal, run `cargo test`. If everything is set up
|
||||||
s_server` window. Those aren't anything to worry about. You can stop the server
|
correctly, all tests should pass. You can stop the servers with `killall
|
||||||
using Control-C.
|
openssl`.
|
||||||
|
|
||||||
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`.
|
|
||||||
|
|
||||||
[1]: http://slproweb.com/products/Win32OpenSSL.html
|
[1]: http://slproweb.com/products/Win32OpenSSL.html
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
[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"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#![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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
[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"]
|
||||||
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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]
|
#[macro_use]
|
||||||
extern crate bitflags;
|
extern crate bitflags;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue