mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 21:53:41 +08:00
Fix reqgen -L bug
This commit is contained in:
@@ -173,7 +173,7 @@ bad:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (x509_name_set(name, &namelen, sizeof(name),
|
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_req_sign(req, &reqlen, sizeof(req),
|
||||||
X509_version_v1,
|
X509_version_v1,
|
||||||
name, namelen,
|
name, namelen,
|
||||||
|
|||||||
Reference in New Issue
Block a user