summaryrefslogtreecommitdiffstats
path: root/engines
AgeCommit message (Collapse)Author
2015-01-22Re-align some comments after running the reformat script.OpenSSL_1_0_0-post-reformatMatt Caswell
This should be a one off operation (subsequent invokation of the script should not move them) This commit is for the 1.0.0 changes Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Rerun util/openssl-format-source -v -c .OpenSSL_1_0_0-post-auto-reformatMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Tweaks for comments due to indent's inability to handle themMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Move more comments that confuse indentMatt Caswell
Conflicts: crypto/dsa/dsa.h demos/engines/ibmca/hw_ibmca.c ssl/ssl_locl.h Conflicts: crypto/bn/rsaz_exp.c crypto/evp/e_aes_cbc_hmac_sha1.c crypto/evp/e_aes_cbc_hmac_sha256.c ssl/ssl_locl.h Conflicts: crypto/ec/ec2_oct.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c crypto/ec/ecp_nistputil.c crypto/ec/ecp_oct.c crypto/modes/gcm128.c ssl/ssl_locl.h Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Fix strange formatting by indentMatt Caswell
Conflicts: crypto/hmac/hmac.h Conflicts: crypto/evp/e_aes_cbc_hmac_sha256.c Conflicts: crypto/ec/ecp_nistp224.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c crypto/ec/ectest.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22engines/e_ubsec.c: make it indent-friendly.Andy Polyakov
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Additional comment changes for reformat of 1.0.0Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Further comment amendments to preserve formatting prior to source reformatMatt Caswell
(cherry picked from commit 4a7fa26ffd65bf36beb8d1cb8f29fc0ae203f5c5) Conflicts: crypto/x509v3/pcy_tree.c Conflicts: apps/apps.c ssl/ssltest.c Conflicts: apps/apps.c crypto/ec/ec2_oct.c crypto/ec/ecp_nistp224.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c ssl/s3_cbc.c ssl/ssl_sess.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Conflicts: crypto/asn1/a_sign.c crypto/bn/bn_div.c crypto/dsa/dsa_asn1.c crypto/ec/ecp_nistp224.c crypto/ec/ecp_nistp256.c crypto/ec/ecp_nistp521.c crypto/ec/ecp_nistputil.c crypto/modes/gcm128.c crypto/opensslv.h ssl/d1_both.c ssl/heartbeat_test.c ssl/s3_clnt.c ssl/s3_srvr.c ssl/ssl_sess.c ssl/t1_lib.c test/testutil.h Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-10-15Adjust VMS build to Unix build. Most of all, make it so the disabledRichard Levitte
algorithms MD2 and RC5 don't get built. Also, disable building the test apps in crypto/des and crypto/pkcs7, as they have no support at all. Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: crypto/crypto-lib.com makevms.com ssl/ssl-lib.com
2014-10-15Make sure that disabling the MAYLOSEDATA3 warning is only done when the ↵Richard Levitte
compiler supports it. Otherwise, there are warnings about it lacking everywhere, which is quite tedious to read through while trying to check for other warnings. Reviewed-by: Tim Hudson <tjh@openssl.org> Conflicts: ssl/ssl-lib.com
2014-03-07engines/ccgost/gosthash.c: simplify and avoid SEGV.Andy Polyakov
PR: 3275 (cherry picked from commit ea38f020492042bc1d1adc26ef197b0b9cadf968)
2013-11-08engines/ccgost/gost89.h: make word32 defintion unconditional.Andy Polyakov
Original definition depended on __LONG_MAX__ that is not guaranteed to be present. As we don't support platforms with int narrower that 32 bits it's appropriate to make defition inconditional. PR: 3165 (cherry picked from commit 96180cac04591abfe50fc86096365553484bde65)
2013-01-19engines/ccgost: GOST fixes [from master].Andy Polyakov
Submitted by: Dmitry Belyavsky, Seguei Leontiev PR: 2821
2012-11-18PR: 2880Dr. Stephen Henson
Submitted by: "Florian Rüchel" <florian.ruechel@ruhr-uni-bochum.de> Correctly handle local machine keys in the capi ENGINE.
2012-09-01Don't load GOST ENGINE if it is already loaded.Dr. Stephen Henson
Multiple copies of the ENGINE will cause problems when it is cleaned up as the methods are stored in static structures which will be overwritten and freed up more than once. Set static methods to NULL when the ENGINE is freed so it can be reloaded.
2012-08-13gosthash.c: use memmove in circle_xor8, as input pointers can be equalAndy Polyakov
[from HEAD]. PR: 2858
2012-02-29PR: 2743Dr. Stephen Henson
Reported by: Dmitry Belyavsky <beldmit@gmail.com> Fix memory leak if invalid GOST MAC key given.
2012-02-11PR: 2703Dr. Stephen Henson
Submitted by: Alexey Melnikov <alexey.melnikov@isode.com> Fix some memory and resource leaks in CAPI ENGINE.
2012-02-11PR: 2705Dr. Stephen Henson
Submitted by: Alexey Melnikov <alexey.melnikov@isode.com> Only create ex_data indices once for CAPI engine.
2012-01-12Sanitize usage of <ctype.h> functions. It's important that charactersAndy Polyakov
are passed zero-extended, not sign-extended [from HEAD]. PR: 2682
2012-01-04Check GOST parameters are not NULL (CVE-2012-0027)Dr. Stephen Henson
2011-09-01PR: 2586Dr. Stephen Henson
Submitted by: Thomas Jarosch <thomas.jarosch@intra2net.com> Reviewed by: steve Zero structure fields properly.
2011-09-01PR: 2586Dr. Stephen Henson
Submitted by: Thomas Jarosch <thomas.jarosch@intra2net.com> Reviewed by: steve Fix brace mismatch.
2011-03-25Corrections to the VMS build system.Richard Levitte
Submitted by Steven M. Schweda <sms@antinode.info>
2011-03-25For VMS, implement the possibility to choose 64-bit pointers withRichard Levitte
different options: "64" The build system will choose /POINTER_SIZE=64=ARGV if the compiler supports it, otherwise /POINTER_SIZE=64. "64=" The build system will force /POINTER_SIZE=64. "64=ARGV" The build system will force /POINTER_SIZE=64=ARGV.
2011-03-19Apply all the changes submitted by Steven M. Schweda <sms@antinode.info>Richard Levitte
2011-01-30stop warnings about no previous prototype when compiling shared enginesDr. Stephen Henson
2011-01-06PR: 2407Richard Levitte
Fix fault include. Submitted by Arpadffy Zoltan <Zoltan.Arpadffy@scientificgames.se>
2010-12-14First attempt at adding the possibility to set the pointer size for the ↵Richard Levitte
builds on VMS. PR: 2393
2010-11-18PR: 2375Dr. Stephen Henson
Submitted by: Guenter <lists@gknw.net> Reviewed by: steve cleanup/fix e_aep.c for OpenWatcom
2010-11-18PR: 2374Dr. Stephen Henson
Submitted by: Guenter <lists@gknw.net> Reviewed by: steve Don't compile capi ENGINE on mingw32
2010-08-24engine/Makefile: harmonize engine install rule for .dylib extension on MacOS ↵Andy Polyakov
X [from HEAD]. PR: 2319
2010-06-15Fix warnings (From HEAD, original patch by Ben).Dr. Stephen Henson
2010-05-26Avoid use of ex_data free function in Chil ENGINE so it can be safelyDr. Stephen Henson
reloaded.
2010-05-22PR: 2254Dr. Stephen Henson
Submitted by: Ger Hobbelt <ger@hobbelt.com> Approved by: steve@openssl.org Check for <= 0 i2d return value.
2010-05-15PR: 2255Dr. Stephen Henson
Submitted By: Ger Hobbelt <ger@hobbelt.com> Place RSA dependent variable under #ifndef OPENSSL_NO_RSA
2010-04-14fix bug in ccgost CFB mode codeDr. Stephen Henson
2010-04-14check ASN1 type before using itDr. Stephen Henson
2010-04-13Rework the way engines are builtRichard Levitte
2010-04-08make GOST MAC work againDr. Stephen Henson
2010-03-24initialise buf if wrong_info not usedDr. Stephen Henson
2010-03-15e_capi.c: fix typo.Andy Polyakov
2010-03-15workaround for missing definition in some headersDr. Stephen Henson
2010-03-12PR: 2192Dr. Stephen Henson
Submitted By: Jaroslav Imrich <jaroslav.imrich@disig.sk> The prompt_info and wrong_info parameters can be empty strings which can produce confusing prompts. Treat empty string same as NULL.
2010-02-23Always check bn_wexpend() return values for failure (CVE-2009-3245).Bodo Möller
(The CHANGES entry covers the change from PR #2111 as well, submitted by Martin Olsson.) Submitted by: Neel Mehta
2010-02-16Submitted by: Dmitry Ivanov <vonami@gmail.com>Dr. Stephen Henson
Don't leave dangling pointers in GOST engine if calls fail.
2010-01-27size_t doesn't compare less than zero...Richard Levitte
2010-01-19PR: 2141Dr. Stephen Henson
Submitted by: "NARUSE, Yui" <naruse@airemix.jp> Remove non-ASCII comment which causes compilation errors on some versions of VC++.