Skip to content

imaiguo/openssl.3.0.8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the OpenSSL Project

依赖项

  1. Perl
  2. NASM

MSVC编译

> cmd
> vcvars64.bat
> set Path=D:\devtools\nasm-2.16.01;%Path%
> set CL=/MP
> mkdir build & cd build
> #编译动态库Release
> D:\devtools\Strawberry\perl\bin\perl.exe ../Configure VC-WIN64A --release -shared --prefix="D:\devtoolsmsvc\openssl.3.0.8" --openssldir="D:\devtoolsmsvc\openssl.3.0.8\SSL"
> #编译静态库Release
> D:\devtools\Strawberry\perl\bin\perl.exe ../Configure VC-WIN64A --release no-shared --prefix="D:\devtoolsmsvc\openssl.3.0.8\static" --openssldir="D:\devtoolsmsvc\openssl.3.0.8\static\SSL"
>
>
> #编译动态库Debug
> D:\devtools\Strawberry\perl\bin\perl.exe ../Configure VC-WIN64A --debug -shared --prefix="D:\devtoolsmsvc\openssl.3.0.8\debug" --openssldir="D:\devtoolsmsvc\openssl.3.0.8\debug\SSL"
> #编译静态库Debug
> D:\devtools\Strawberry\perl\bin\perl.exe ../Configure VC-WIN64A --debug no-shared --prefix="D:\devtoolsmsvc\openssl.3.0.8\debug\static" --openssldir="D:\devtoolsmsvc\openssl.3.0.8\debug\static\SSL"
>
> nmake & nmake install
>

1.3 运行测试程序

 > nmake test

1.4 test代码

test\pem_read_depr_test.c
test\evp_libctx_test.c  rsa_keygen

1.5 配置开发环境

> # cmake
> set(OPENSSL_ROOT_DIR "D:/devtools/openssl.3.0.8/")
> # cmd
> set Path=D:\devtools\openssl.3.0.8\bin;%Path%

2. Linux环境编译

系统自带开发库libssl-dev

 > mkdir build & cd build
 > perl ../Configure --prefix="/opt/devtools/openssl.3.0.8" --openssldir="/opt/devtools/openssl.3.0.8/SSL"
 > nmake
 > nmake install

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors