Fix warning (from Victor)
This commit is contained in:
@@ -502,8 +502,8 @@ keychain_iter(hx509_context context,
|
|||||||
if (ret)
|
if (ret)
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
|
|
||||||
cert = hx509_cert_init_data(context, ptr, len, &error);
|
*cert = hx509_cert_init_data(context, ptr, len, &error);
|
||||||
if (cert == NULL) {
|
if (*cert == NULL) {
|
||||||
ret = heim_error_get_code(error);
|
ret = heim_error_get_code(error);
|
||||||
heim_release(error);
|
heim_release(error);
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user