Change-Id: Ie3faef9d95d95cbcfbd222d92f25e6eae8e41581
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
}
*cert = d2i_X509_fp(fp, NULL);
}
*cert = d2i_X509_fp(fp, NULL);
connman_error("Failed to read der file");
err = -EINVAL;
}
connman_error("Failed to read der file");
err = -EINVAL;
}
}
*cert = PEM_read_X509(fp, cert, NULL, NULL);
}
*cert = PEM_read_X509(fp, cert, NULL, NULL);
connman_error("Failed to read pem file");
err = -EINVAL;
}
connman_error("Failed to read pem file");
err = -EINVAL;
}