Go to file
Matt Caswell 2a1e2fe145 Prevent the use of RUN_ONCE inside the FIPS module
FIPS module code *always* runs within the scope of an associated
OPENSSL_CTX. When the module is loaded the OPENSSL_CTX gets created, and
when the module is unloaded the OPENSSL_CX gets freed. A module may be
loaded multiple times within the scope of different OPENSSL_CTX objects.
"Global" data should always be stored within the OPENSSL_CTX. In this
way it will always get cleaned up properly when the module is unloaded.

All current code within the FIPS module works this way. To avoid
"accidents" we disabled the RUN_ONCE code inside the FIPS module.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9308)
2019-07-04 17:11:07 +01:00
.github
apps Fix Typos 2019-07-02 14:22:29 +02:00
boringssl@2070f8ad91
Configurations Fix Typos 2019-07-02 14:22:29 +02:00
crypto Make BIGNUM rand functions available within the FIPS module 2019-07-02 16:49:18 +01:00
demos Fix Typos 2019-07-02 14:22:29 +02:00
doc Clarify documentation of SSL_CTX_set_verify client side behavior 2019-07-04 17:01:27 +02:00
engines Fix Typos 2019-07-02 14:22:29 +02:00
external/perl
fuzz Add OIDs for kmac128, kmac256 and blake2. 2019-07-01 17:41:31 +10:00
include Prevent the use of RUN_ONCE inside the FIPS module 2019-07-04 17:11:07 +01:00
krb5@b9ad6c4950
ms
os-dep
providers Add a dummy call to BN_rand_ex() in the FIPS provider 2019-07-02 16:49:18 +01:00
pyca-cryptography@09403100de
ssl Move 'shared_sigalgs' from cert_st to ssl_st 2019-06-26 12:20:55 -05:00
test test/recipes/02_test_errstr.t: Make it less fragile 2019-07-04 12:06:43 +02:00
tools
util Adding Test.pm with workaround for Perl abs2rel bug 2019-07-02 20:10:57 +02:00
VMS
.gitattributes
.gitignore
.gitmodules
.travis-apt-pin.preferences
.travis-create-release.sh
.travis.yml
ACKNOWLEDGEMENTS
appveyor.yml
AUTHORS
build.info Move where include path for providers/common/include gets specified 2019-05-23 11:02:04 +01:00
CHANGES Fix Typos 2019-07-02 14:22:29 +02:00
config Remove NextStep support 2019-07-01 13:32:46 -04:00
config.com
Configure Remove EXPORT_VAR_AS_FUNC 2019-07-01 20:13:03 -04:00
CONTRIBUTING Add a note in the contributing file about trivial commits. 2019-06-27 23:23:17 +10:00
e_os.h Remove NextStep support 2019-07-01 13:32:46 -04:00
FAQ
INSTALL Improve the Windows OneCore target support. (Add targets for building libraries for Windows Store apps.) 2019-06-10 10:22:36 +01:00
LICENSE
NEWS Fix Typos 2019-07-01 10:09:22 +02:00
NOTES.ANDROID
NOTES.DJGPP
NOTES.PERL Fix typo in NOTES.PERL 2019-05-16 11:46:59 +10:00
NOTES.UNIX
NOTES.VALGRIND
NOTES.VMS
NOTES.WIN Configure: final cleanup of asm related things 2019-06-17 16:08:53 +02:00
README
README.ENGINE
README.FIPS

 OpenSSL 3.0.0-dev

 Copyright (c) 1998-2018 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 the Apache License 2.0, which means
 that you are free to get and use it for commercial and non-commercial
 purposes as long as you fulfill its conditions.

 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 latest version from the repository
      to see if the problem has already been addressed
    - Configure with no-asm
    - Remove compiler optimization flags

 If you wish to report a bug then please include the following information
 and create an issue on GitHub:

    - OpenSSL version: output of 'openssl version -a'
    - Configuration data: output of 'perl configdata.pm --dump'
    - 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)

 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.

 HOW TO CONTRIBUTE TO OpenSSL
 ----------------------------

 See CONTRIBUTING

 LEGALITIES
 ----------

 A number of nations 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.