Go to file
Matt Caswell 48a03162db Prefer SHA-256 ciphersuites if using old style PSKs
If we have no certificate and we are using "old style" PSKs then we will
always default to using SHA-256 for that PSK. However we may have selected
a ciphersuite that is not based on SHA-256. Therefore if we see that there
are no certificates and we have been configured for "old style" PSKs then
we should prefer SHA-256 based ciphersuites during the selection process.

Fixes #6197

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6215)
2018-05-11 13:47:13 +01:00
.github
apps Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
boringssl@2070f8ad91
Configurations windows-makefile.tmpl: rearrange cleanup commands to avoid ... 2018-05-07 17:16:09 +02:00
crypto Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
demos
doc Fix typos in x509 documentation 2018-05-09 17:15:58 +02:00
engines Update copyright year 2018-05-01 13:34:30 +01:00
external/perl
fuzz
include Make X509_VERIFY_PARAM_get_hostflags() take a const arg 2018-05-02 23:43:52 +01:00
krb5@b9ad6c4950
ms Update copyright year 2018-05-01 13:34:30 +01:00
os-dep
pyca-cryptography@c1f8e46033
ssl Prefer SHA-256 ciphersuites if using old style PSKs 2018-05-11 13:47:13 +01:00
test Use void in all function definitions that do not take any arguments 2018-05-11 14:37:48 +02:00
tools
util Add getter for X509_VERIFY_PARAM_get_hostflags 2018-05-01 15:06:16 +01:00
VMS
.gitattributes
.gitignore
.gitmodules
.travis-apt-pin.preferences
.travis-create-release.sh
.travis.yml .travis.yml: add pair of linux-ppc64le targets. 2018-05-10 11:35:01 +02:00
ACKNOWLEDGEMENTS
appveyor.yml
AUTHORS
build.info
CHANGES Add CHANGES entry for PR#6009 2018-05-09 13:30:46 +02:00
config Configure: move --noexecstack probe to Configure. 2018-05-05 20:44:56 +02:00
config.com
Configure Configure: fix Mac OS X builds that still require makedepend 2018-05-05 20:58:21 +02:00
CONTRIBUTING
e_os.h
FAQ
INSTALL Add support for getrandom() or equivalent system calls and use them by default 2018-04-22 20:16:02 +02:00
LICENSE
NEWS
NOTES.ANDROID
NOTES.DJGPP
NOTES.PERL
NOTES.UNIX
NOTES.VMS
NOTES.WIN
README Prepare for 1.1.1-pre7-dev 2018-05-01 13:55:46 +01:00
README.ENGINE
README.FIPS

 OpenSSL 1.1.1-pre7-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 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.