mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-07 12:33:39 +08:00
Update X509 and certgen tool
This commit is contained in:
@@ -1176,7 +1176,7 @@ const ASN1_OID_INFO *asn1_oid_info_from_oid(const ASN1_OID_INFO *infos, size_t i
|
||||
{
|
||||
size_t i;
|
||||
|
||||
if (!infos || !infos_cnt || oid <= 0) {
|
||||
if (!infos || !infos_cnt || oid < 0) {
|
||||
error_print();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user