Changes between Version 27 and Version 28 of BuildingOnWindows


Ignore:
Timestamp:
11/11/10 10:06:24 (13 years ago)
Author:
Samuli Seppänen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v27 v28  
    3737== OpenSSL ==
    3838
    39 Sources for the [http://www.openssl.org/ OpenSSL] library are required to build OpenVPN.
     39Sources for the [http://www.openssl.org/ OpenSSL] library are required to build OpenVPN. Both 0.9.8 and 1.0.0 series should work.
    4040
    4141= Installing optional Git support =
     
    6161= Building OpenSSL =
    6262
    63 First download the latest (0.9.8) release from [http://www.openssl.org/source here] and extract it somewhere. Using the latest one ensures there are no (known) security holes in OpenSSL. For the most part you can then follow the instructions in ''INSTALL.W32'' and ''INSTALL.W64'' files. Before you start, though, launch the ''Visual Studio 2008 x64 Cross Tools Command Prompt'', which can be found from the ''Start menu''. Unlike the standard command prompt it has all the paths to VC binaries set correctly.
     63First download OpenSSL from [http://www.openssl.org/source here] and extract it somewhere. Using the latest one ensures there are no (known) security holes in OpenSSL. For the most part you can then follow the instructions in ''INSTALL.W32'' and ''INSTALL.W64'' files. Before you start, though, launch the ''Visual Studio 2008 Command Prompt'', which can be found from the ''Start menu''. Unlike the standard command prompt it has all the paths to VC binaries set correctly.
    6464
    6565From within this command prompt you'll first configure OpenSSL using the provided Perl script:
     
    7070}}}
    7171
    72 Some of the crypto routines are written in assembler to increase performance, so you need to/should use an assembler (e.g. MASM) in the next step:
     72Some of the crypto routines are written in assembler to increase performance, so you need to/should use an assembler in the next step. If you're building OpenSSL 0.9.8x you can choose between [http://en.wikipedia.org/wiki/Microsoft_Macro_Assembler Microsoft Macro Assembler] and [http://www.nasm.us/ NASM assembler]. On OpenSSL-1.0.0 you need to use NASM as MASM is not supported anymore. Note that you need to add ''nasm.exe'' to the PATH. There are good generic instructions [http://vlaurie.com/computers2/Articles/environment.htm here].
     73
     74If you're using MASM, run
    7375
    7476{{{
    7577ms\do_masm
     78}}}
     79
     80Or if you're using NASM, run
     81
     82{{{
     83ms\do_nasm
    7684}}}
    7785