simplify openssl on windows

This commit is contained in:
sdarwin
2020-07-24 13:38:58 +02:00
committed by Richard Hodges
parent 3486e9cb18
commit 28a7a99e75
4 changed files with 70 additions and 17 deletions
+17
View File
@@ -279,7 +279,24 @@ about Beast and other HTTP libraries that have gone through formal review.
for TLS streams. Callers may provide their own overloads of these functions
for user-defined next layer types.
]]
[[
Windows and OpenSSL: How do I install and build with OpenSSL on Microsoft Windows?
][
An easy method is to use command-line package installers chocolatey or scoop. Examples:
"choco install -y openssl --x86 --version 1.1.1.700" or
"scoop install openssl@1.1.1g -a 32bit -g"
If you've installed OpenSSL to a directory with spaces in the name, it's often
preferable to create a symbolic link so that you may use a simpler path, such as:
mklink /D "OpenSSL" "Program Files (x86)\\OpenSSL-Win32"
Set the environment variable OPENSSL_ROOT to the location of the new install:
set OPENSSL_ROOT=C:/OpenSSL
Then, proceed to build. Refer to beast/.dockers/windows-vs-32/Dockerfile for an example of building the test cases with OpenSSL.
]]
]
[endsect]