Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from expressvpn/upgrade-liboqs-0.7.2
Browse files Browse the repository at this point in the history
Upgrade liboqs 0.7.2
  • Loading branch information
expressvpn-pete-m authored Sep 1, 2022
2 parents 4d7205c + cacee16 commit 1663d37
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wolfssl-sys"
version = "0.1.8"
version = "0.1.9"
edition = "2021"
authors = ["[email protected]"]
license = "GPL-2.0"
Expand All @@ -16,7 +16,7 @@ autotools = "0.2"
build-target = "0.4.0"

[dependencies]
oqs-sys = { version = "0.7.1", default-features = false, features = ["kems", "sigs"], optional = true}
oqs-sys = { version = "0.7.2", default-features = false, features = ["kems", "sigs"], optional = true}

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add `wolfssl-sys` to your Cargo manifest:

```
[dependencies]
wolfssl-sys = "0.1.8"
wolfssl-sys = "0.1.9"
```
To ensure that the crate can be built even offline, the crate includes the source code for WolfSSL (currently version `5.4.0`). WolfSSL uses autotools to build and configure the library so this will need to be installed on the build system.

Expand All @@ -32,7 +32,7 @@ WolfSSL offers Post Quantum support by leveraging `liboqs`, a library from the [

``` toml
[dependencies]
wolfssl-sys = { version = "0.1.8" features = ["postquantum"] }
wolfssl-sys = { version = "0.1.9" features = ["postquantum"] }
```

This will automatically build `liboqs` from the `oqs-sys` crate and link WolfSSL against it, making definitions such as `WOLFSSL_P521_KYBER_LEVEL5` available.
Expand Down
2 changes: 1 addition & 1 deletion examples/connect_pq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn main() {
.as_c_str()
.as_ptr() as *mut ::std::os::raw::c_void;
// The port that runs P521 Kyber Level 5 hybrid
let port = 6051;
let port = 6043;

// Compile in the OQS CA at build time
let pq_osa_ca = include_bytes!("test_certs/pq-osa-ca.crt");
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ mod tests {
unsafe {
// Init WolfSSL
let res = wolfSSL_Init();
assert_eq!(res, WOLFSSL_SUCCESS);

// Set up client method
let method = wolfTLSv1_3_client_method();
Expand Down

0 comments on commit 1663d37

Please sign in to comment.