forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 0
TLS/SSL and crypto library. Add how to build with VS2015.
License
fanglinliu/openssl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
OpenSSL 1.1.0-pre6-dev Copyright (c) 1998-2016 The OpenSSL Project Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson All rights reserved. DESCRIPTION ----------- The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, fully featured, and Open Source toolkit implementing the Secure Sockets Layer (SSLv3) and Transport Layer Security (TLS) protocols as well as a full-strength general purpose cryptographic library. The project is managed by a worldwide community of volunteers that use the Internet to communicate, plan, and develop the OpenSSL toolkit and its related documentation. OpenSSL is descended from the SSLeay library developed by Eric A. Young and Tim J. Hudson. The OpenSSL toolkit is licensed under a dual-license (the OpenSSL license plus the SSLeay license), which means that you are free to get and use it for commercial and non-commercial purposes as long as you fulfill the conditions of both licenses. OVERVIEW -------- The OpenSSL toolkit includes: libssl (with platform specific naming): Provides the client and server-side implementations for SSLv3 and TLS. libcrypto (with platform specific naming): Provides general cryptographic and X.509 support needed by SSL/TLS but not logically part of it. openssl: A command line tool that can be used for: Creation of key parameters Creation of X.509 certificates, CSRs and CRLs Calculation of message digests Encryption and decryption SSL/TLS client and server tests Handling of S/MIME signed or encrypted mail And more... INSTALLATION ------------ See the appropriate file: INSTALL Linux, Unix, Windows, OpenVMS INSTALL.DJGPP DOS platform with DJGPP INSTALL.WCE Windows CE SUPPORT ------- See the OpenSSL website www.openssl.org for details on how to obtain commercial technical support. If you have any problems with OpenSSL then please take the following steps first: - Download the current snapshot from ftp://ftp.openssl.org/snapshot/ to see if the problem has already been addressed - Remove ASM versions of libraries - Remove compiler optimisation flags If you wish to report a bug then please include the following information in any bug report: - On Unix systems: Self-test report generated by 'make report' - On other systems: OpenSSL version: output of 'openssl version -a' OS Name, Version, Hardware platform Compiler Details (name, version) - Application Details (name, version) - Problem Description (steps that will reproduce the problem, if known) - Stack Traceback (if the application dumps core) Email the report to: [email protected] In order to avoid spam, this is a moderated mailing list, and it might take a day for the ticket to show up. (We also scan posts to make sure that security disclosures aren't publically posted by mistake.) Mail to this address is recorded in the public RT (request tracker) database (see https://www.openssl.org/community/index.html#bugs for details) and also forwarded the public openssl-dev mailing list. Confidential mail may be sent to [email protected] (PGP key available from the key servers). Please do NOT use this for general assistance or support queries. Just because something doesn't work the way you expect does not mean it is necessarily a bug in OpenSSL. You can also make GitHub pull requests. If you do this, please also send mail to [email protected] with a link to the PR so that we can more easily keep track of it. HOW TO CONTRIBUTE TO OpenSSL ---------------------------- See CONTRIBUTING LEGALITIES ---------- A number of nations, in particular the U.S., restrict the use or export of cryptography. If you are potentially subject to such restrictions you should seek competent professional legal advice before attempting to develop or distribute cryptographic code. Build with VS2015 community version. https://github.com/disig/SoftHSM2-for-Windows/blob/master/BUILDING.md http://stackoverflow.com/questions/34410711/how-to-build-openssl-in-vs2015-x86cpuid-asm-is-an-empty-file Building OpenSSL 1.0.2d as a static library on Windows Note: Following text is extracted from my building instructions for SoftHSM2. Required software Visual Studio (2015 Community) GNU Privacy Guard for Windows (2.2.5) 7-zip (9.20) Strawberry Perl (5.22.0.1) The Netwide Assembler (2.11.08) Preparations Create working directories: mkdir C:\build\bin\ mkdir C:\build\src\ Download OpenSSL 1.0.2d with its signature into C:\build\src\ directory and verify signature of the downloaded archive: cd C:\build\src\ gpg --keyserver pgp.mit.edu --recv-keys 0E604491 gpg --verify openssl-1.0.2d.tar.gz.asc openssl-1.0.2d.tar.gz Building 32-bit version Extract archive openssl-1.0.2d.tar.gz into C:\build\src\openssl-1.0.2d-x86 directory: cd C:\build\src\ "C:\Program Files\7-Zip\7z" x openssl-1.0.2d.tar.gz "C:\Program Files\7-Zip\7z" x openssl-1.0.2d.tar rename openssl-1.0.2d openssl-1.0.2d-x86 del openssl-1.0.2d.tar In a new command line window build OpenSSL and install it into C:\build\bin\openssl-1.0.2d-x86 directory: cd C:\build\src\openssl-1.0.2d-x86 set PATH=%PATH%;C:\nasm "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" perl Configure VC-WIN32 --prefix=C:\build\bin\openssl-1.0.2d-x86 enable-static-engine ms\do_nasm nmake /f ms\nt.mak nmake /f ms\nt.mak test nmake /f ms\nt.mak install Resulting build is located in C:\build\bin\openssl-1.0.2d-x86 directory. Building 64-bit version Extract archive openssl-1.0.2d.tar.gz into C:\build\src\openssl-1.0.2d-x64 directory: cd C:\build\src\ "C:\Program Files\7-Zip\7z" x openssl-1.0.2d.tar.gz "C:\Program Files\7-Zip\7z" x openssl-1.0.2d.tar rename openssl-1.0.2d openssl-1.0.2d-x64 del openssl-1.0.2d.tar In a new command line window build OpenSSL and install it into C:\build\bin\openssl-1.0.2d-x64 directory: cd C:\build\src\openssl-1.0.2d-x64 set PATH=%PATH%;C:\nasm "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 perl Configure VC-WIN64A --prefix=C:\build\bin\openssl-1.0.2d-x64 enable-static-engine ms\do_win64a nmake /f ms\nt.mak nmake /f ms\nt.mak test nmake /f ms\nt.mak install Resulting build is located in C:\build\bin\openssl-1.0.2d-x64 directory.
About
TLS/SSL and crypto library. Add how to build with VS2015.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 72.5%
- Perl 23.4%
- Assembly 1.6%
- C++ 1.2%
- Makefile 0.6%
- Shell 0.4%
- Other 0.3%