summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-03-20constify DSA_SIG_get0()Dr. Stephen Henson
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-20Move blake2_loclh to blake2 directoryRich Salz
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19Fixed languageAlex Gaynor
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Fixed a bunch of typos in the docsAlex Gaynor
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19constify ECDSA_SIG_get0()Dr. Stephen Henson
PR#4436 Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19If the asm file to be compiled isn't generated, leave the ext aloneRichard Levitte
Closes RT#4447 Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19make updateRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19Don't let 'generate' target depend on generated files, act directly insteadRichard Levitte
One of the 'generate' targets depended on $(SRCDIR)/apps/progs.h, which depended on... nothing. This meant it never got regenerated once it existed, regardless of need. Of course, we could have it depend on all the files checked to generate it, but they also depend on progs.h, so we'd end up getting cricular dependencies, which makes make unhappy. Furthermore, and this applies for the other generated files, having them as targets means that they may be regenerated on the fly in some cases, and since they get written to the source tree, this isn't such a good idea if that tree is read-only (which is a possible situation in an out-of-tree build). So, we move all the actions to the 'generate' targets themselves, thus making sure they get regenerated in a controlled manner and regardless of dependencies. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19apps/progs.pl: add back the INCLUDE_FUNCTION_TABLE wrapperRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-19Revert "Ignore the generated apps/progs.h"Viktor Dukhovni
This reverts commit 91056e72693b4ee8cb5339d9091871ffc3b6f776. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Revert "Generate apps/progs.h on the fly"Viktor Dukhovni
This reverts commit 04e2a527379ad12ca512aef4e838f94af22d7f79. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Revert "Include progs.h directly in openssl.c instead of via apps.h"Viktor Dukhovni
This reverts commit a45d7d5388c6774a484cff4af13f188240d3d50b. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19GH36: Add casts to match the documentationAlex Gaynor
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-19Correct faulty L<> links in .podsRichard Levitte
Closes RT#4450 Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Add a few more quotes for Windows (install_ssldirs)Richard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19The command source are files, not directoriesRichard Levitte
Therefore, they should be concatenated with the source directory using catfile(), not catdir() Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Replace sed command with perlRichard Levitte
Some implementations of sed require a newline before an ending '}'. The easier method is to replace that sed command with the corresponding perl command. Closes RT#4448 Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Clear the exit code from 'find' in 'make depend'Richard Levitte
Depending on what has been built so far, all .d files may not be present and 'find' will exit with non-zero exit code. This isn't a bother for us but may break make, so clear the exit code with an added 'exit 0'. Closes RT#4444 Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Shut find up about files not foundRichard Levitte
Some of the files in $(DEPS) might not exist. We don't need to know. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Don't free up EVP_MD_CTX.Schüller Felix
Don't free up passed EVP_MD_CTX in ASN1_item_sign_ctx(). This simplifies handling and retains compatiblity with previous behaviour. PR#4446 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Stephen Henson <steve@openssl.org>
2016-03-19Use the dependencies received in generatesrc()Richard Levitte
generatesrc() did already receive dependency information, but never used it, and never really needed to... until now. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Ignore the generated apps/progs.hRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Generate apps/progs.h on the flyRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Include progs.h directly in openssl.c instead of via apps.hRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Make apps/progs.pl more flexibleRichard Levitte
Make Configure write @disablables to configdata.pm and have apps/progs.pl use that data. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Correct the export list when writing configdata.pmRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Correct the check of files to depend on against known generated onesRichard Levitte
The check was erroneously inversed Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Don't perform tsa tests if configured "no-ts"Richard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-19Correct incorrect pathRichard Levitte
In crypto, buildinf.h depends on ../configdata.pm, not ./configdata.pm Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Better 'make depend' mechanismRichard Levitte
Instead of relying on the '-nt' test operator, which doesn't exist everywhere, use find's '-newer' to find out if any of the known .d files is newer than Makefile. Closes RT#4444 Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-18make updateRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Implement support for no-tsRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18apps/progs.pl: more consistent output for digestsRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Fix no-desMatt Caswell
Numerous fixes for no-des. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Fix no-dgramMatt Caswell
A few places in s_client needed some OPENSSL_NO_DTLS guards which fixes no-dgram. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Fix no-deprecatedMatt Caswell
The no-deprecated build was failing because afalg was relying on a transitive include that does not exist in a no-deprecated build. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Fix no-cmacMatt Caswell
There were a couple of CMAC references without OPENSSL_NO_CMAC guards. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-18Add a test to see that signals are caught as failuresRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-18Make OpenSSL::Test::run() sensitive to signalsRichard Levitte
$? in perl gets the status value from wait(2), which is a word with the exit code in the upper half and the number of a raised signal in the lower half. OpenSSL::Test::run() ignored the signal half up until now. With this change, we recalculate an exit code the same way the Unix shells do, using this formula: ($? & 0x7f) ? ($? & 0x7f)|0x80 : ($? >> 8); Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-18Remove more unused things.Rich Salz
Moved doc/standards.txt to the web. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Resolved unresolved symbols with no-hwMatt Caswell
Compiling on Windows with no-hw was resulting in unresolved symbols in the padlock engine. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Ensure that no-comp functions are flagged as suchMatt Caswell
mkdef.pl was not detecting no-comp functions. This updates the header file so that mkdef.pl detects that no-comp applies, and the functions are marked accordingly. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Fix no-rc2 in the CMS testMatt Caswell
The CMS test uses some RC2 keys which should be skipped if the RC2 is disabled. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Mark OCB as an AEAD cipherMatt Caswell
OCB is AEAD capable but was not marked as such with the EVP_CIPH_FLAG_AEAD_CIPHER flag. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-18Ensure that memory allocated for the ticket is freedMatt Caswell
If a call to EVP_DecryptUpdate fails then a memory leak could occur. Ensure that the memory is freed appropriately. Issue reported by Guido Vranken. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Fix a potential double free in EVP_DigestInit_exMatt Caswell
There is a potential double free in EVP_DigestInit_ex. This is believed to be reached only as a result of programmer error - but we should fix it anyway. Issue reported by Guido Vranken. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-18Fix build; CPP syntax error.Rich Salz
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2016-03-17Update EVP_CIPHER_CTX_set_padding documentation.Conrado Porto Lopes Gouvêa
Add note about when EVP_CIPHER_CTX_set_padding should be called. Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
2016-03-17README: small fixupsRichard Levitte
Don't refer to INSTALL files that don't exist any more. Make it clear that the libssl and libcrypto libraries may be named differently on different platforms. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-17Make picker, thread and combine standard config helper functionsRichard Levitte
Document them as well Reviewed-by: Andy Polyakov <appro@openssl.org>