Go to file
Richard Levitte ac6ae8a9fe Configure: Don't fail if there were "make variables" set in env
The original intent was that if someone had a "make variable" set in
any kind of way, be it as an environment variable or as an argument to
Configure, we wouldn't allow compiler or linker flags as arguments as
well.  That made both of these configurations equivalently impossible:

    ./Configure target CFLAGS=-foo -lextra

     CFLAGS=-foo ./Configure target -lextra

While this makes things look nice and consistent, real world use makes
this hard, as many projects where OpenSSL is a component also set
these variables for other components that use GNU autotools.

Therefore, we need to adapt our Configure accordingly.  By
consequence, the two Configure lines above will not be equivalent any
more:

    ./Configure target CFLAGS=-foo -lextra

This command line will still fail, because the "make variable" was
given as a command line argument.  This cannot be a mistake and is
therefore not allowed.

     CFLAGS=-foo ./Configure target -lextra

This command line will work, but because there is a linker flag as
a command line argument, the environment (i.e. CFLAGS) is ignored.
That isn't quite consistent with the previous command, but is the old
Configure behavior, before the support for "make variables" was added,
and is therefore the backward compatible behavior.

Fixes google/oss-fuzz#1244

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5641)
2018-03-16 10:27:36 +01:00
.github
Configurations Move all dependency post-processing to util/add-depends.pl 2018-03-16 09:33:53 +01:00
VMS Simplify the handling of shared library version numbers 2017-07-26 22:53:03 +02:00
apps VMS: add alias macros to avoid 31 character symbol name limit warning 2018-03-15 22:27:49 +01:00
boringssl@2070f8ad91
crypto Publish the RAND_DRBG API 2018-03-15 18:58:38 +01:00
demos Add "friendly name" extractor 2017-11-30 14:53:46 -05:00
doc Allow multiple entries without a Subject even if unique_subject == yes 2018-03-15 12:51:34 +00:00
engines Use the TLSv1.3 record header as AAD 2018-03-14 09:51:20 +00:00
external/perl
fuzz Missings OIDs for XTS added. 2018-03-15 11:09:20 +10:00
include Publish the RAND_DRBG API 2018-03-15 18:58:38 +01:00
krb5@b9ad6c4950 [extended tests] Enable krb5 tests in Travis 2017-04-18 19:10:25 +02:00
ms Remove unused num.pl,segregnam scripts 2018-02-22 15:36:27 -05:00
os-dep
pyca-cryptography@c1f8e46033 Update pyca-cryptography to latest commit 2017-08-11 11:16:44 +10:00
ssl Publish the RAND_DRBG API 2018-03-15 18:58:38 +01:00
test Add code to run test, get malloc counts 2018-03-15 10:51:17 -04:00
tools Make "make variables" config attributes for overridable flags 2018-03-08 17:24:02 +01:00
util VMS C: reduce the dependency paths to be relative 2018-03-16 09:33:54 +01:00
.gitattributes crypto/pkcs12: facilitate accessing data with non-interoperable password. 2016-08-22 13:52:59 +02:00
.gitignore Remove test-runs dir, adjust .gitignore 2017-12-15 19:27:42 +01: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 Reduce travis-ci log output 2018-03-08 21:18:35 +01:00
.travis.yml Reduce travis-ci log output 2018-03-08 21:18:35 +01:00
ACKNOWLEDGEMENTS
AUTHORS Copyright consolidation: perl files 2016-04-20 09:45:40 -04:00
CHANGES Update CHANGES with details of TLSv1.3 ciphersuite configuration 2018-03-14 10:15:50 +00:00
CONTRIBUTING
Configure Configure: Don't fail if there were "make variables" set in env 2018-03-16 10:27:36 +01:00
FAQ
INSTALL Configure: disallow the mixture of compiling flags and env / make variables 2018-03-08 17:24:02 +01:00
LICENSE Update the license end year 2018-01-20 10:02:23 +01:00
NEWS OpenSSL 1.1.1 is now in pre release 2018-02-13 13:59:25 +00:00
NOTES.DJGPP
NOTES.PERL
NOTES.UNIX NOTES.UNIX: add additional note about --enable-new-dtags 2018-02-15 10:58:31 +01:00
NOTES.VMS
NOTES.WIN Various doc fixes. 2017-07-26 23:09:40 -04:00
README Prepare for 1.1.1-pre3-dev 2018-02-27 13:59:51 +00:00
README.ECC
README.ENGINE Remove bsd_cryptodev engine 2017-06-19 09:31:45 -04:00
README.FIPS
appveyor.yml appveyor.yml: omit makedepend step. 2018-02-24 14:17:24 +01:00
build.info VMS build.info: uppercase args to perl modules must be quoted 2017-12-18 07:49:53 +01:00
config config: Pass diverse flags to Configure via the environment 2018-03-08 17:24:02 +01:00
config.com Update copyright year 2018-02-13 13:59:25 +00:00
e_os.h Update copyright year 2018-02-27 13:59:42 +00:00

README

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