Commit 524c1e63 authored by Steven Fackler's avatar Steven Fackler
Browse files

Release v0.6.3

parent 212acf0b
Loading
Loading
Loading
Loading
+9 −13
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
[package]
name = "openssl-sys"
version = "0.6.2"
version = "0.6.3"
authors = ["Alex Crichton <alex@alexcrichton.com>",
           "Steven Fackler <sfackler@gmail.com>"]
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"
+1 −1
Original line number Diff line number Diff line
#![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;

+3 −3
Original line number Diff line number Diff line
[package]
name = "openssl"
version = "0.6.2"
version = "0.6.3"
authors = ["Steven Fackler <sfackler@gmail.com>"]
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"
+1 −1
Original line number 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]
extern crate bitflags;