Hardcoded path in fpopenssl.pp
Summary
The file fpopenssl.pp
uses the hardcoded path DumpCertFile = 'C:\temp\x509.txt';
in line 37. This causes an EFCreateError
because there is no C:\Temp
on my system.
This filename should correctly be at least '%temp%\x509.txt'
or better IncludeTrailingPathDelimiter(GetTempDir)+'x509.txt'
.
System Information
- Operating system: Windows
- Processor architecture: x86-64
- Compiler version: 3.3
- Device: Computer
What is the current bug behavior?
FpHttpServer crashes with an EFCreateError
exception because it cannot create the file.
What is the expected (correct) behavior?
The correct temp
directory should be used whichever is set in the %temp%
environment variable.
I don't know about Linux, but it's probably worth checking whether DumpCertFile = '/tmp/x509.txt';
two lines below is correct there.