Skip to content

Commit

Permalink
fix(fleet-provisioning): remove csr version set
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored and archigup committed Jan 23, 2025
1 parent faac66d commit 91a65da
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fleet-provisioning/src/generate_certificate.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ static GglError generate_csr(EVP_PKEY *pkey, X509_REQ **req) {
return GGL_ERR_FAILURE;
}

X509_REQ_set_version(*req, 1);
if (ret == 0) {
GGL_LOGE("x509 csr set version request failed");
return GGL_ERR_FAILURE;
}

X509_NAME *name = X509_NAME_new();
X509_NAME_add_entry_by_txt(
name, "C", MBSTRING_ASC, (unsigned char *) "US", -1, -1, 0
Expand Down

0 comments on commit 91a65da

Please sign in to comment.