1. Download OpenSSL source code from https://github.com/openssl/openssl/releases.
2. Download and install ActivePerl from https://www.activestate.com/products/perl/downloads/
3. Start the visual studio 2019 developer command tool "x64 Native Tools Command Prompt for VS 2019", switch working folder to the openssl source code folder, run the below commands.
perl Configure VC-WIN64A --prefix=C:\openssl_x64 no-asm no-shared enable-tlsext enable-static-engine ms\do_win64a nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak install
4. The OpenSSL folder will be put in C:\openssl_x64.
原文地址:https://www.cnblogs.com/shengguang/p/12242325.html
时间: 2024-10-09 10:51:26