Fix reqgen -L bug

This commit is contained in:
Zhi Guan
2022-07-25 17:09:56 +08:00
parent f49d465b42
commit 9f5f9c8f16

View File

@@ -173,7 +173,7 @@ bad:
}
if (x509_name_set(name, &namelen, sizeof(name),
country, state, NULL, org, org_unit, common_name) != 1
country, state, locality, org, org_unit, common_name) != 1
|| x509_req_sign(req, &reqlen, sizeof(req),
X509_version_v1,
name, namelen,