Skip to content

Commit ca89eb1

Browse files
authored
Validate bare protocol locally against OpenSSL reference (#66)
1 parent c8529bc commit ca89eb1

File tree

16 files changed

+1772
-0
lines changed

16 files changed

+1772
-0
lines changed

.github/workflows/local_openssl.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: validate-local-openssl
2+
3+
defaults:
4+
run:
5+
working-directory: validation/local_ping_pong_openssl
6+
7+
on:
8+
pull_request:
9+
paths-ignore:
10+
- README.md
11+
push:
12+
branches: master
13+
paths-ignore:
14+
- README.md
15+
16+
permissions:
17+
contents: read
18+
19+
env:
20+
CARGO_INCREMENTAL: 0
21+
RUSTFLAGS: "-Dwarnings"
22+
23+
jobs:
24+
test:
25+
strategy:
26+
matrix:
27+
toolchain:
28+
- stable
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: RustCrypto/actions/cargo-cache@master
33+
- uses: dtolnay/rust-toolchain@master
34+
with:
35+
toolchain: ${{ matrix.toolchain }}
36+
- name: Test against OpenSSL locally
37+
run: cargo test

validation/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ between rustls and rustcrypto-rustcrypto provider under different targets.
66
| Crate | Description |
77
| :--- | :--- |
88
| consumer-no_std | Basic consumer library aiming no_std environment |
9+
| local_ping_pong_openssl | Local tests against OpenSSL reference |
910

1011
These live in the workspace due to different dependency requirements between
1112
tests where development-deps may pollute the integration under test.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
target
2+
certs/*.crt
3+
certs/*.key
4+
certs/*.pfx
5+
certs/*.srl
6+
certs/*.csr

0 commit comments

Comments
 (0)