diff options
author | Joe Birr-Pixton <jpixton@gmail.com> | 2024-07-29 10:27:31 +0100 |
---|---|---|
committer | Joe Birr-Pixton <jpixton@gmail.com> | 2024-07-30 16:18:36 +0000 |
commit | 64bfff85cd2fff519c6d541b7d722c0a48b0cc77 (patch) | |
tree | 7357752b8723c472ce4cd2e0565cb7652211222d /bogo | |
parent | deab221f0cc06b070645b3eed97b86db9ed4b7b0 (diff) |
bogo: print shim provider at top of test log
Diffstat (limited to 'bogo')
-rwxr-xr-x | bogo/runme | 2 | ||||
-rw-r--r-- | bogo/src/main.rs | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -5,7 +5,7 @@ set -xe -cargo build +cargo run -- -print-rustls-provider case ${BOGO_SHIM_PROVIDER:-aws-lc-rs} in ring) diff --git a/bogo/src/main.rs b/bogo/src/main.rs index adf48433..13ce21e4 100644 --- a/bogo/src/main.rs +++ b/bogo/src/main.rs @@ -1677,6 +1677,13 @@ pub fn main() { process::exit(BOGO_NACK); } + "-print-rustls-provider" => { + println!("{}", "*".repeat(66)); + println!("rustls provider is {:?}", opts.selected_provider); + println!("{}", "*".repeat(66)); + process::exit(0); + } + _ => { println!("unhandled option {:?}", arg); process::exit(1); |