Update Makefile and code style in tests

This commit is contained in:
Zhi Guan
2022-07-28 16:42:54 +08:00
parent f1da2d5528
commit 5dadb639a8
13 changed files with 340 additions and 358 deletions

View File

@@ -506,18 +506,10 @@ static int test_x509_policy_mapping(void)
// 这里的一些OID应该在RFC中有,但是我们不实现
static int test_x509_attribute(void)
{
return -1;
// TODO
return 1;
}
static int test_x509_basic_constraints(void)
{
uint8_t buf[256];
@@ -880,10 +872,6 @@ static int test_x509_cert_with_exts(void)
return 1;
}
int main(int argc, char **argv)
{
if (test_x509_other_name() != 1) goto err;