Skip to content

Commit

Permalink
chore(crypto): X509 - add code owners and fix CI (#1045)
Browse files Browse the repository at this point in the history
* add codeowners and try to fix CI

* fmt
  • Loading branch information
altkdf authored Nov 15, 2024
1 parent 211294b commit 1bd0a00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
/rust/token_transfer/ @dfinity/growth
/rust/token_transfer_from/ @dfinity/growth
/rust/vetkd/ @dfinity/crypto-team
/rust/x509/ @dfinity/crypto-team

/svelte/svelte-motoko-starter/ @dfinity/sdk
/svelte/svelte-starter/ @dfinity/sdk
Expand Down
6 changes: 5 additions & 1 deletion rust/x509/src/x509_example_rust/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,13 @@ fn generate_child_certificate_request(

let mut req_builder = X509Req::builder().expect("failed to create X509Req builder");

req_builder
.set_version(0)
.expect("failed to set version in child certificate");

req_builder
.set_subject_name(&subject_name)
.expect("failed to set subject name");
.expect("failed to set subject name in child certificate");
req_builder
.set_pubkey(&key)
.expect("failed to set public key in child certificate");
Expand Down

0 comments on commit 1bd0a00

Please sign in to comment.