Go to file
Richard Levitte 65b88a7592 ASN1: Ensure that d2i_ASN1_OBJECT() frees the strings on ASN1_OBJECT reuse
The 'sn' and 'ln' strings may be dynamically allocated, and the
ASN1_OBJECT flags have a bit set to say this.  If an ASN1_OBJECT with
such strings is passed to d2i_ASN1_OBJECT() for reuse, the strings
must be freed, or there is a memory leak.

Fixes #14667

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14938)
2021-04-27 12:41:28 +02:00
.github [github-ci] Add a out-of-tree_build job 2021-03-04 20:30:24 +02:00
Configurations Don't remove $(TARFILE) when cleaning 2021-04-23 16:30:33 +02:00
VMS Configurations/descrip.mms.tmpl: avoid enormous PIPE commands 2021-02-12 15:54:31 +01:00
apps crl2pkcs7 shouldn't include empty optional sets 2021-04-09 11:26:54 +02:00
boringssl@2070f8ad91 Update ossl_config.json for later BoringSSL commit 2017-03-14 12:12:13 +00:00
crypto ASN1: Ensure that d2i_ASN1_OBJECT() frees the strings on ASN1_OBJECT reuse 2021-04-27 12:41:28 +02:00
demos Remove unnecessary BIO_do_handshake()s 2021-04-01 15:22:10 +02:00
doc Fix typos in x509.pod 2021-04-09 19:06:27 +10:00
engines Update copyright year 2020-03-17 13:59:29 +00:00
external/perl Update copyright year 2018-09-11 13:45:17 +01:00
fuzz Update copyright year 2021-03-25 13:21:32 +00:00
include Some compilers define __STDC_VERSION__ in c++ 2021-04-22 17:53:01 +02:00
krb5@890ca2f401 Update the krb5 submodule 2019-12-29 13:08:55 +01:00
ms Update copyright year 2019-02-26 14:05:09 +00:00
os-dep Move Haiku configuration to separate config file to denote 2016-05-19 22:39:52 +02:00
pyca-cryptography@09403100de Update the pyca-cryptography submodule 2018-09-10 12:04:03 +01:00
ssl Handle set_alpn_protos inputs better. 2021-04-13 12:31:02 +02:00
test Test that EVP_PKEY_cmp() returns 1 when comparing a key to itself 2021-04-23 16:12:22 +02:00
tools Update copyright year 2021-03-25 13:21:32 +00:00
util Print correct error message in utils/mkdir-p.pl 2021-03-30 19:13:29 +02:00
.gitattributes Don't export the submodules 'boringssl', 'krb5' and 'pyca-cryptography' 2018-11-24 18:43:54 +01:00
.gitignore Add *.d.tmp files to .gitignore 2020-02-20 16:58:54 +00:00
.gitmodules [extended tests] Enable krb5 tests in Travis 2017-04-18 19:10:25 +02:00
.travis-apt-pin.preferences Fix travis clang-3.9 builds 2017-06-23 17:57:02 +01:00
.travis-create-release.sh Remove all 'make dist' artifacts 2018-11-23 12:42:21 +01:00
ACKNOWLEDGEMENTS Refer to website for acknowledgements. 2015-12-08 16:07:09 -05:00
AUTHORS Add some missing committers to the AUTHORS list 2021-02-02 16:50:16 +01:00
CHANGES Prepare for 1.1.1l-dev 2021-03-25 13:28:48 +00:00
CONTRIBUTING Drop Travis 2021-01-25 13:44:45 +01:00
Configure Update copyright year 2021-02-16 15:17:22 +00:00
FAQ Move FAQ to the web. 2015-08-16 19:02:29 -04:00
INSTALL VMS documentation fixes 2021-02-12 15:54:31 +01:00
LICENSE Update copyright year 2019-02-26 14:05:09 +00:00
NEWS Prepare for 1.1.1l-dev 2021-03-25 13:28:48 +00:00
NOTES.ANDROID Fix typos and repeated words 2020-07-24 21:06:32 +02:00
NOTES.DJGPP Remove unnecessary trailing whitespace 2019-02-05 16:29:17 +01:00
NOTES.PERL Fix typos and repeated words 2020-07-24 21:06:32 +02:00
NOTES.UNIX NOTES.UNIX: add "Linking your application" paragraph 2018-06-26 12:28:06 +02:00
NOTES.VMS VMS documentation fixes 2021-02-12 15:54:31 +01:00
NOTES.WIN NOTES.WIN: fix typo 2021-02-05 13:43:23 -05:00
README Prepare for 1.1.1l-dev 2021-03-25 13:28:48 +00:00
README.ENGINE Remove bsd_cryptodev engine 2017-06-19 09:31:45 -04:00
README.FIPS Remove more (rest?) of FIPS build stuff. 2016-01-06 12:07:26 -05:00
appveyor.yml Prevent extended tests run unexpectedly in appveyor 2020-06-02 11:35:47 +02:00
build.info Reorganize private crypto header files 2019-09-27 23:57:58 +02:00
config Configuration: darwin64-arm64-cc for Apple silicon 2020-12-03 11:17:16 +01:00
config.com Update copyright year 2018-02-13 13:59:25 +00:00
e_os.h Enable WinCE build without deceiving _MSC_VER. 2020-07-15 23:09:24 +02:00

README

 OpenSSL 1.1.1l-dev

 Copyright (c) 1998-2021 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 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.