Windows 平台编译openssl3.3

  • 安装Perl, 添加到环境变量

[http:// http://strawberryperl.com/]( "http:// http://strawberryperl.com/")

  • 安装啊NASM, 添加到环境变量

https://www.nasm.us

  • 使用VS命令行工具

我要编译的是64位的。然后切换到openssl文件夹执行配置

  • perl Configure VC-WIN64A

可选的参数有:

  • perl Configure VC-WIN32 if you want 32-bit OpenSSL or
  • perl Configure VC-WIN64A if you want 64-bit OpenSSL or
  • perl Configure VC-WIN64-ARM if you want Windows on Arm (win-arm64) OpenSSL or
  • perl Configure VC-WIN64-CLANGASM-ARM if you want Windows on Arm (win-arm64) OpenSSL with assembly support using clang-cl as assembler or
  • perl Configure VC-CLANG-WIN64-CLANGASM-ARM if you want Windows on Arm (win-arm64) OpenSSL using clang-cl as both compiler and assembler or
  • perl Configure VC-WIN32-HYBRIDCRT if you want 32-bit OpenSSL dependent on the Universal CRT or
  • perl Configure VC-WIN64A-HYBRIDCRT if you want 64-bit OpenSSL dependent on the Universal CRT or
  • perl Configure to let Configure figure out the platform
  • 开始make, 构建时间比较长
  • nmake
  • nmake test
  • nmake install

完整编译教程参考:https://github.com/openssl/openssl/blob/openssl-3.3/NOTES-WINDOWS.md

相关推荐
学也不会2 小时前
d202541
windows
厦门德仔2 小时前
【C#】C#字符串拼接的6种方式及其性能分析对比
服务器·windows·c#
网络探索者9 小时前
DirectX修复工具(DirectX Repair)官网免费下载
windows
心灵宝贝9 小时前
SQLyog一款被遗忘的MySQL管理利器深度解析
windows
Doris Liu.17 小时前
如何检测代码注入(Part 2)
windows·python·安全·网络安全·网络攻击模型
bjxiaxueliang17 小时前
一文详解QT环境搭建:Windows使用CLion配置QT开发环境
开发语言·windows·qt
郁大锤1 天前
如何在 Windows 上安装与配置 Tomcat
java·windows·tomcat
松树戈1 天前
windows通用网线连接ubuntu实现ssh登录、桌面控制、文件共享【实操&常见问题解决思路】
linux·windows·ubuntu·ssh
〆、风神1 天前
策略模式与元数据映射模式融合 JSR 380 验证规范实现枚举范围校验
windows·spring·策略模式
开开心心就好1 天前
开启智能生活新篇:免费 APP 实现家电万能操控
java·windows·python·微信·pdf·生活·软件需求