Go to file
Matt Caswell 255cfeacd8 Reject out of context empty records
Previously if we received an empty record we just threw it away and
ignored it. Really though if we get an empty record of a different content
type to what we are expecting then that should be an error, i.e. we should
reject out of context empty records. This commit makes the necessary changes
to achieve that.

RT#4395

Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-06-07 22:07:36 +01:00
apps GH1123: sort dir before rehash 2016-06-02 15:12:50 -04:00
Configurations Fix the directory target generation 2016-06-06 15:14:36 +02:00
crypto Fix BN_mod_word bug 2016-06-07 21:55:31 +01:00
demos Consolidate copyright for demos 2016-05-18 09:23:31 -04:00
doc Unify d2i/i2d documentation. 2016-06-07 15:49:08 -04:00
engines Fix some GitHub issues. 2016-06-07 11:08:33 -04:00
external/perl Copyright consolidation; .pm and Configure 2016-04-20 10:40:05 -04:00
fuzz Add support for fuzzing with AFL 2016-06-04 14:39:24 +02:00
include Add SSL_CTX_get_tlsext_status_type() 2016-06-07 17:05:52 +01: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 Reject out of context empty records 2016-06-07 22:07:36 +01:00
test Add a BN_mod_word test() 2016-06-07 21:55:31 +01:00
tools GH1123: sort dir before rehash 2016-06-02 15:12:50 -04:00
util Unify d2i/i2d documentation. 2016-06-07 15:49:08 -04: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 Ignore buildtest artifacts. 2016-06-04 14:49:56 -04: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 Deprecate the flags that switch off constant time 2016-06-06 11:09:06 +01: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 Configure: complete the changed fuzz option checks 2016-06-05 21:38:59 +02: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 Update INSTALL instructions 2016-06-03 17:24:50 +01: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 NOTES.WIN: use secure urls 2016-06-06 10:03:55 -04: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.