diff --git a/src/WebAuthn.php b/src/WebAuthn.php index f2eb755..0f121a3 100644 --- a/src/WebAuthn.php +++ b/src/WebAuthn.php @@ -541,7 +541,6 @@ public function queryFidoMetaDataService($certFolder, $deleteCerts=true) { \curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); \curl_setopt($ch, CURLOPT_USERAGENT, 'github.com/lbuchs/WebAuthn - A simple PHP WebAuthn server library'); $raw = \curl_exec($ch); - \curl_close($ch); } else { $raw = \file_get_contents($url); }