summary refs log tree commit diff stats
path: root/lib/pure/ssl_certs.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/ssl_certs.nim')
-rw-r--r--lib/pure/ssl_certs.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/ssl_certs.nim b/lib/pure/ssl_certs.nim
index 806316b02..d04244307 100644
--- a/lib/pure/ssl_certs.nim
+++ b/lib/pure/ssl_certs.nim
@@ -79,9 +79,9 @@ iterator scanSSLCertificates*(useEnvVars = false): string =
     when not defined(haiku):
       for p in certificate_paths:
         if p.endsWith(".pem") or p.endsWith(".crt"):
-          if existsFile(p):
+          if fileExists(p):
             yield p
-        elif existsDir(p):
+        elif dirExists(p):
           for fn in joinPath(p, "*").walkFiles():
             yield fn
     else: