Skip to content

Commit 1bd0a00

Browse files
authored
chore(crypto): X509 - add code owners and fix CI (#1045)
* add codeowners and try to fix CI * fmt
1 parent 211294b commit 1bd0a00

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
/rust/token_transfer/ @dfinity/growth
7575
/rust/token_transfer_from/ @dfinity/growth
7676
/rust/vetkd/ @dfinity/crypto-team
77+
/rust/x509/ @dfinity/crypto-team
7778

7879
/svelte/svelte-motoko-starter/ @dfinity/sdk
7980
/svelte/svelte-starter/ @dfinity/sdk

rust/x509/src/x509_example_rust/tests/tests.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,13 @@ fn generate_child_certificate_request(
230230

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

233+
req_builder
234+
.set_version(0)
235+
.expect("failed to set version in child certificate");
236+
233237
req_builder
234238
.set_subject_name(&subject_name)
235-
.expect("failed to set subject name");
239+
.expect("failed to set subject name in child certificate");
236240
req_builder
237241
.set_pubkey(&key)
238242
.expect("failed to set public key in child certificate");

0 commit comments

Comments
 (0)