---
examples/https-client-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/https-client-test.c b/examples/https-client-test.c
index 2c8d020..e17b271 100644
--- a/examples/https-client-test.c
+++ b/examples/https-client-test.c
@@ -195,7 +195,7 @@ int main(int argc, char *argv[])
if (argc >= 3) {
ca_cert = l_pem_load_certificate_list(argv[2]);
- if (!cert) {
+ if (!ca_cert) {
fprintf(stderr, "Couldn't load the CA certificates\n");
return -1;
}
--
2.27.0