The Windows environment compiles NSS and NSPR

Source: Internet
Author: User

NSS (Network Security Services) is a set of cross-platform libraries that can be used in the development of client applications and server-side applications. Apps that are compiled with NSS can support SSL V2 and SSL V3 to tls,pkcs#5,pkcs#7,pkcs#11,pkcs#12,s/mime,x.509 V3 certificates, as well as other security standards.

If we need to use the NSS library, we need to compile the downloaded source code. In the MDN website can be down to the published version of the Source: ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/


In order to compile NSS, we need to download the NSPR library at the same time, and choose NSS and the NSPR compression package download.


After downloading the source code, we must install Mozilla-build, the default installation, after installation, the C drive can see a mozilla-build folder. Unzip the previously downloaded source and copy the NSS and NSPR two folders to the C drive directory.


Open the Mozilla-build folder, select the corresponding install VS version of the bat file to run (My Computer installs the VS2010, so select the Start-shell-msvc2010.bat file to run), after startup appears as shown.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/57/69/wKiom1SZVeHzvaqDAAGuhrqo6b8892.jpg "title=" 1.jpg " alt= "Wkiom1szvehzvaqdaaguhrqo6b8892.jpg"/>

Switch the path to the NSS directory. Enter the "Make Nss_build_all" command. Then there was a long wait. If the compilation is not error, the end will be in the C-drive directory to create a new Dist folder, with the corresponding header files and Lib files and DLL files.


After the NSS is compiled, if we need to add something to the NSS library, we can modify its code directly and then compile it into the library we need to use.

This article is from the "brave" blog, make sure to keep this source http://hqalbert.blog.51cto.com/4729875/1594014

The Windows environment compiles NSS and NSPR

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.