Răsfoiți Sursa

Bug fix: Correcting default OpenSSL configuration paths

They were never correct. Originally Linux paths were used. And since they were attempted-corrected to Windows paths in b8622504, wrong paths were used, with (86) instead of x86 in the environment variables names. Though even correct variable name is not enough, as OpenSSL do not expend them. They need to be expanded in the code.

Source commit: 2e70d161732d79443f96917a89567ead56cd19cc
Martin Prikryl 2 ani în urmă
părinte
comite
e423270f99
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      libs/openssl/include/openssl/configuration.h

+ 3 - 3
libs/openssl/include/openssl/configuration.h

@@ -124,9 +124,9 @@ extern "C" {
 /* Generate 80386 code? */
 # undef I386_ONLY
 
-#define ENGINESDIR "%ProgramFiles(86)%\\OpenSSL\\lib\\engines-3"
-#define MODULESDIR "%ProgramFiles(86)%\\OpenSSL\\lib\\ossl-modules"
-#define OPENSSLDIR "%CommonProgramFiles(86)%\\SSL"
+#define ENGINESDIR "C:\\Program Files (x86)\\OpenSSL\\lib\\engines-3"
+#define MODULESDIR "C:\\Program Files (x86)\\OpenSSL\\lib\\ossl-modules"
+#define OPENSSLDIR "C:\\Program Files (x86)\\Common Files\\SSL"
 
 /*
  * The following are cipher-specific, but are part of the public API.