mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
43 lines
1.1 KiB
Plaintext
Executable File
43 lines
1.1 KiB
Plaintext
Executable File
Upgrading OpenSSL
|
|
-----------------
|
|
|
|
I. Additional Requirements
|
|
|
|
1) Install ActivePerl from activestate.com (free download)
|
|
|
|
http://www.activestate.com/store/activeperl/download/
|
|
|
|
Alternatively use Cygwin Perl; add the bin directory to end of %PATH%.
|
|
It has to be at the end so that link.exe comes before /usr/bin/link.
|
|
|
|
PATH=%PATH%;C:\cygwin\bin
|
|
|
|
|
|
II. Compiling OpenSSL from source
|
|
|
|
2) Grab and extract the latest sources from openssl.org
|
|
3) Create C:\OpenSSL for installation
|
|
4) Open the Visual Studio 2008 command prompt
|
|
5) cd to the OpenSSL source directory
|
|
6) Configure OpenSSL
|
|
|
|
perl Configure --prefix=C:/OpenSSL VC-WIN32
|
|
ms\do_ms
|
|
|
|
Note #1: The slash after the C: in the configure line is significant
|
|
Note #2: You can safely ignore "Compilation failed" messages from do_ms
|
|
|
|
7) Compile and Install OpenSSL
|
|
|
|
nmake -f ms\ntdll.mak install
|
|
|
|
|
|
III. Making OpenSSL available to Nmap
|
|
|
|
8) Copy the required files from C:\OpenSSL to Nmap's mswin32\OpenSSL directory
|
|
|
|
\OpenSSL\bin\*.dll -> mswin32\OpenSSL\bin
|
|
\OpenSSL\include -> mswin32\OpenSSL\include
|
|
\OpenSSL\lib -> mswin32\OpenSSL\lib
|
|
|