diff options
Diffstat (limited to 'content/fetchers/curl.c')
-rw-r--r-- | content/fetchers/curl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c index 39759cf32..bd8c4333c 100644 --- a/content/fetchers/curl.c +++ b/content/fetchers/curl.c @@ -161,9 +161,8 @@ curl_fetch_ssl_key_eq(void *key1, void *key2) if (port2 == NULL) port2 = lwc_string_ref(corestring_lwc_443); - if (lwc_string_isequal(hostname1, hostname2, &iseq) != lwc_error_ok) - goto out; - if (!iseq) + if (lwc_string_isequal(hostname1, hostname2, &iseq) != lwc_error_ok || + iseq == false) goto out; iseq = false; |