Skip to content
  1. Jun 21, 2016
  2. Jun 20, 2016
  3. Jun 18, 2016
  4. Jun 17, 2016
    • Matt Caswell's avatar
      Change default directory for storing the .rnd file on Windows · 13c03c8d
      Matt Caswell authored
      
      
      Previously we would try %RANDFILE%, then %HOME% and finally "C:".
      Unfortunately this often ends up being "C:" which the user may not
      have write permission for.
      
      Now we try %RANDFILE% first, and then the same set of environment vars
      as GetTempFile() uses, i.e. %TMP%, then %TEMP%, %USERPROFILE% and
      %SYSTEMROOT%. If all else fails we fall back to %HOME% and only then "C:".
      
      Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
      13c03c8d