TLS/SSL and crypto library
Find a file
Mat fa64e63373 Use BCryptGenRandom on Windows 7 or higher
When openssl is compiled with MSVC and _WIN32_WINNT>=0x0601 (Windows 7), BCryptGenRandom is used instead of the legacy CryptoAPI.

This change brings the following benefits:
- Removes dependency on CryptoAPI (legacy API) respectively advapi32.dll
- CryptoAPI Cryptographic Service Providers (rsa full) are not dynamically loaded.
- Allows Universal Windows Platform (UWP) apps to use openssl (CryptGenRandom is not available for Windows store apps)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1142)
2016-06-03 12:18:59 -04:00
apps GH1123: sort dir before rehash 2016-06-02 15:12:50 -04:00
Configurations Remove/rename some old files. 2016-06-01 11:29:57 -04:00
crypto Use BCryptGenRandom on Windows 7 or higher 2016-06-03 12:18:59 -04:00
demos Consolidate copyright for demos 2016-05-18 09:23:31 -04:00
doc Fix nits in crypto.pod,ssl.pod 2016-06-01 11:31:14 -04:00
engines Remove/rename some old files. 2016-06-01 11:29:57 -04:00
external/perl Copyright consolidation; .pm and Configure 2016-04-20 10:40:05 -04:00
fuzz Add ct fuzzer. 2016-06-03 11:24:51 +01:00
include Add an SSL_SESSION accessor for obtaining the protocol version number, with 2016-05-31 17:16:29 -04:00
ms Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
os-dep Move Haiku configuration to separate config file to denote 2016-05-19 22:39:52 +02:00
ssl Remove null check, per review feedback. Note this in the docs. 2016-05-31 17:16:29 -04:00
test tests: clean up temporary SSL session files. 2016-06-03 15:31:16 +02:00
tools GH1123: sort dir before rehash 2016-06-02 15:12:50 -04:00
util perl: refactor .pod name section extractor into its own module 2016-06-02 15:38:16 +02:00
VMS Make sure tsget.pl and c_rehash.pl get installed on VMS and Windows. 2016-05-23 21:48:42 +02:00
.gitattributes *.der files are binary. 2016-04-26 13:45:20 +01:00
.gitignore Add ct fuzzer. 2016-06-03 11:24:51 +01:00
.travis-create-release.sh Remove the -n tar flag from osx dist creation 2016-03-08 20:21:26 +01:00
.travis.yml Travis: update sanitizer configs 2016-05-30 18:47:32 +02:00
ACKNOWLEDGEMENTS Refer to website for acknowledgements. 2015-12-08 16:07:09 -05:00
appveyor.yml Update Travis and Appveyor for change to shared by default 2016-04-14 22:23:12 +01:00
AUTHORS Copyright consolidation: perl files 2016-04-20 09:45:40 -04:00
build.info build.info files: add quotes around any spec that may contain spaces 2016-05-25 11:50:44 +02:00
CHANGES Fix some RAND bugs 2016-06-01 10:45:18 -04:00
config Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
config.com Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
Configure Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
CONTRIBUTING Add a paragraph on documentation to CONTRIBUTING 2016-06-03 17:10:16 +01:00
e_os.h Fix strdup macro redefinition 2016-05-30 09:51:31 -04:00
FAQ Move FAQ to the web. 2015-08-16 19:02:29 -04:00
INSTALL Build the 'openssl rehash' command on VMS version 8.3 and up 2016-06-02 21:11:07 +02:00
LICENSE Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
Makefile.shared Makefile.shared: revert Haiku support commit. 2016-05-25 23:47:55 +02:00
NEWS Manual fixes after copyright consolidation 2016-05-17 17:38:18 -04:00
NOTES.DJGPP Slight cleanup of the collection of READMEs, INSTALLs and NOTES 2016-05-23 16:02:53 +02:00
NOTES.PERL Tweaks to NOTES.PERL 2016-06-03 17:10:16 +01:00
NOTES.VMS Force argv to be an array of long pointers on VMS 2016-04-01 16:23:35 +02:00
NOTES.WIN Update NOTES.WIN 2016-06-03 17:10:16 +01:00
README Bring the README file up to date 2016-06-03 17:10:16 +01:00
README.ECC Add NSA sublicense info. 2011-05-11 12:50:57 +00:00
README.ENGINE Remove Ubsec engine 2016-02-26 23:34:25 +00:00
README.FIPS Remove more (rest?) of FIPS build stuff. 2016-01-06 12:07:26 -05:00

 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
 Transport Layer Security (TLS) protocols (including SSLv3) as well as a
 full-strength general purpose cryptographic library.

 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, ...
        NOTES.*         INSTALL addendums for different platforms

 SUPPORT
 -------

 See the OpenSSL website www.openssl.org for details on how to obtain
 commercial technical support. Free community support is available through the
 openssl-users email list (see
 https://www.openssl.org/community/mailinglists.html for further details).

 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:

    - OpenSSL version: output of 'openssl version -a'
    - Any "Configure" options that you selected during compilation of the
      library if applicable (see INSTALL)
    - 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:

    rt@openssl.org

 In order to avoid spam, this is a moderated mailing list, and it might
 take a couple of days 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 openssl-security@openssl.org (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. Use the openssl-users email list for this type
 of query.

 You can also make GitHub pull requests. See the CONTRIBUTING file for more
 details.

 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.