Move errno-protection into string_open_failed()
[exim.git] / src / src / tls-gnu.c
index df520e8d76886268895a7d6ca28232877fbaa5e8..6308f10df4d00bb29ef55b0f88c8365a200dbe3d 100644 (file)
@@ -728,7 +728,7 @@ else if (errno == ENOENT)
     debug_printf("D-H parameter cache file \"%s\" does not exist\n", filename);
   }
 else
-  return tls_error(string_open_failed(errno, "\"%s\" for reading", filename),
+  return tls_error(string_open_failed("\"%s\" for reading", filename),
       NULL, NULL, errstr);
 
 /* If ret < 0, either the cache file does not exist, or the data it contains