修改证书标识符错误提示

This commit is contained in:
fengweihao
2020-12-08 15:03:42 +08:00
parent 2d35bd4164
commit fca0a06046

View File

@@ -774,11 +774,11 @@ int x509_parse_cert(char *certfile, char *host)
switch(xret)
{
case -1:
printf("x509 chain level is error\n");
break;
printf("Error message : %s\n", "x509 chain level is error");
return -1;
case -2:
printf("x509 key identifier error\n");
break;
printf("Error message : %s\n", "Key identifiers is not match");
return -1;
default:
break;
}