Go to file
David Woodhouse e23d5071ec Fix encrypt-then-mac implementation for DTLS
OpenSSL 1.1.0 will negotiate EtM on DTLS but will then not actually *do* it.

If we use DTLSv1.2 that will hopefully be harmless since we'll tend to use
an AEAD ciphersuite anyway. But if we're using DTLSv1, then we certainly
will end up using CBC, so EtM is relevant — and we fail to interoperate with
anything that implements EtM correctly.

Fixing it in HEAD and 1.1.0c will mean that 1.1.0[ab] are incompatible with
1.1.0c+... for the limited case of non-AEAD ciphers, where they're *already*
incompatible with other implementations due to this bug anyway. That seems
reasonable enough, so let's do it. The only alternative is just to turn it
off for ever... which *still* leaves 1.0.0[ab] failing to communicate with
non-OpenSSL implementations anyway.

Tested against itself as well as against GnuTLS both with and without EtM.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-10-17 23:17:39 +01:00
apps Add Postgres support to -starttls 2016-10-17 23:05:36 +01:00
Configurations Use clang++ for C++ for the linux-x86_64-clang target 2016-10-15 11:27:07 +01:00
crypto Fix embedded string handling. 2016-10-17 14:34:00 +01:00
demos Crude VMS build files for demos/bio/ 2016-09-20 18:24:24 +02:00
doc Add Postgres support to -starttls 2016-10-17 23:05:36 +01:00
engines Engine afalg: properly set operation type also on big endian. 2016-10-14 20:06:21 +01:00
external/perl Copyright consolidation; .pm and Configure 2016-04-20 10:40:05 -04:00
fuzz Update fuzz corpora 2016-10-10 19:31:38 +02:00
include Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
ms Revert "RT4526: Call TerminateProcess, not ExitProcess" 2016-06-16 17:37:37 +01:00
os-dep Move Haiku configuration to separate config file to denote 2016-05-19 22:39:52 +02:00
ssl Fix encrypt-then-mac implementation for DTLS 2016-10-17 23:17:39 +01:00
test Add memory leak detection to d2i_test 2016-10-13 19:26:58 +01:00
tools Add -h and -help for c_rehash script and app 2016-09-14 08:59:48 -04:00
util Allow older versions in the *.num files 2016-10-17 11:39:50 +01:00
VMS VMS: Don't force symbol mixed case when building DSOs 2016-09-11 23:18:03 +02:00
.gitattributes crypto/pkcs12: facilitate accessing data with non-interoperable password. 2016-08-22 13:52:59 +02:00
.gitignore Don't ignore Makefiles in demos/ 2016-09-20 18:24:24 +02: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.yml: minor optimizations: 2016-10-11 09:16:15 +02:00
ACKNOWLEDGEMENTS Refer to website for acknowledgements. 2015-12-08 16:07:09 -05:00
appveyor.yml Appveyor: test install as well, via a fake deploy_script 2016-06-21 14:52:34 +02:00
AUTHORS Copyright consolidation: perl files 2016-04-20 09:45:40 -04:00
build.info Have the VMS shared library file names contain the shared version 2016-07-02 15:49:45 +02:00
CHANGES Remove automatic RPATH - Add a CHANGES entry 2016-10-13 02:21:51 +02:00
config Trim config output 2016-09-09 10:07:11 -04:00
config.com VMS: no ENDIF on one line IF statements, in config.com 2016-08-17 10:48:43 +02:00
Configure Fix C++ support: set $target{cxx} correctly 2016-10-14 17:52:22 +02:00
CONTRIBUTING RT is put out to pasture 2016-10-12 15:49:06 -04:00
e_os.h Change default directory for the .rnd file on Windows and VMS 2016-06-20 11:06:40 +02:00
FAQ Move FAQ to the web. 2015-08-16 19:02:29 -04:00
INSTALL Update INSTALL about no-md5 removal 2016-09-19 20:12:58 +02:00
LICENSE Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
Makefile.shared Remove automatic RPATH 2016-10-13 02:21:51 +02:00
NEWS Updates CHANGES and NEWS for new release 2016-09-26 10:24:37 +01: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 Add a note about a perl issue on VMS and how to work around it 2016-08-06 16:00:13 +02:00
NOTES.WIN Fix typo 2016-10-14 10:01:54 +01:00
README RT is put out to pasture 2016-10-12 15:49:06 -04: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.1-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 latest version from the repository
      to see if the problem has already been addressed
    - Configure with no-asm
    - Remove compiler optimisation 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'
    - 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)

 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.