oweals/openssl.git
14 years agoPR: 2375
Dr. Stephen Henson [Thu, 18 Nov 2010 22:59:53 +0000 (22:59 +0000)]
PR: 2375
Submitted by: Guenter <lists@gknw.net>
Reviewed by: steve

cleanup/fix e_aep.c for OpenWatcom

14 years agoPR: 2374
Dr. Stephen Henson [Thu, 18 Nov 2010 22:56:53 +0000 (22:56 +0000)]
PR: 2374
Submitted by: Guenter <lists@gknw.net>
Reviewed by: steve

Don't compile capi ENGINE on mingw32

14 years agoTell the user what test is being performed.
Richard Levitte [Thu, 18 Nov 2010 22:46:55 +0000 (22:46 +0000)]
Tell the user what test is being performed.

14 years agoMake sure the source directory for ASN1TEST is defined.
Richard Levitte [Thu, 18 Nov 2010 22:45:29 +0000 (22:45 +0000)]
Make sure the source directory for ASN1TEST is defined.

14 years agoWe expect these scripts not to bail on error, so make sure that's what happens.
Richard Levitte [Thu, 18 Nov 2010 22:31:01 +0000 (22:31 +0000)]
We expect these scripts not to bail on error, so make sure that's what happens.

14 years agoSynchronise with Unix tests
Richard Levitte [Thu, 18 Nov 2010 22:24:22 +0000 (22:24 +0000)]
Synchronise with Unix tests

14 years agoWe redid the structure on architecture dependent source files, but
Richard Levitte [Thu, 18 Nov 2010 20:02:54 +0000 (20:02 +0000)]
We redid the structure on architecture dependent source files, but
apparently forgot to adapt the copying to the installation directory.

14 years agoremove duplicate statement
Dr. Stephen Henson [Thu, 18 Nov 2010 17:33:44 +0000 (17:33 +0000)]
remove duplicate statement

14 years agoadd ACKNOWLEDGEMENTS file to 1.0.1 branch
Dr. Stephen Henson [Thu, 18 Nov 2010 17:26:51 +0000 (17:26 +0000)]
add ACKNOWLEDGEMENTS file to 1.0.1 branch

14 years agocompile cts128.c on VMS
Dr. Stephen Henson [Thu, 18 Nov 2010 17:04:37 +0000 (17:04 +0000)]
compile cts128.c on VMS

14 years agofix no SIGALRM case in speed.c
Dr. Stephen Henson [Thu, 18 Nov 2010 13:22:42 +0000 (13:22 +0000)]
fix no SIGALRM case in speed.c

14 years agoPR: 2372
Dr. Stephen Henson [Thu, 18 Nov 2010 12:29:38 +0000 (12:29 +0000)]
PR: 2372
Submitted by: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
Reviewed by: steve

Fix OpenBSD compilation failure.

14 years agooops, reinstate TLSv1 string
Dr. Stephen Henson [Wed, 17 Nov 2010 18:16:57 +0000 (18:16 +0000)]
oops, reinstate TLSv1 string

14 years agobackport AES EVP ctr mode changes from HEAD
Dr. Stephen Henson [Wed, 17 Nov 2010 17:46:23 +0000 (17:46 +0000)]
backport AES EVP ctr mode changes from HEAD

14 years agofix CVE-2010-3864
Dr. Stephen Henson [Wed, 17 Nov 2010 17:36:29 +0000 (17:36 +0000)]
fix CVE-2010-3864

14 years agosync OIDs with HEAD
Dr. Stephen Henson [Wed, 17 Nov 2010 17:26:10 +0000 (17:26 +0000)]
sync OIDs with HEAD

14 years agoIf EVP_PKEY structure contains an ENGINE the key is ENGINE specific and
Dr. Stephen Henson [Tue, 16 Nov 2010 12:11:31 +0000 (12:11 +0000)]
If EVP_PKEY structure contains an ENGINE the key is ENGINE specific and
we should use its method instead of any generic one.

14 years agoOnly use explicit IV if cipher is in CBC mode.
Dr. Stephen Henson [Sun, 14 Nov 2010 17:47:21 +0000 (17:47 +0000)]
Only use explicit IV if cipher is in CBC mode.

14 years agoGet correct GOST private key instead of just assuming the last one is
Dr. Stephen Henson [Sun, 14 Nov 2010 13:50:42 +0000 (13:50 +0000)]
Get correct GOST private key instead of just assuming the last one is
correct: this isn't always true if we have more than one certificate.

14 years agoadd TLS v1.1 options to s_server
Dr. Stephen Henson [Sat, 13 Nov 2010 12:44:17 +0000 (12:44 +0000)]
add TLS v1.1 options to s_server

14 years agoSubmitted By: Bogdan Harjoc <harjoc@gmail.com>
Dr. Stephen Henson [Thu, 11 Nov 2010 15:23:32 +0000 (15:23 +0000)]
Submitted By: Bogdan Harjoc <harjoc@gmail.com>
Add missing debug WIN64 targets.

14 years agoPR: 2366
Dr. Stephen Henson [Thu, 11 Nov 2010 14:42:34 +0000 (14:42 +0000)]
PR: 2366
Submitted by: Damien Miller <djm@mindrot.org>
Reviewed by: steve

Stop pkeyutl crashing if some arguments are missing. Also make str2fmt
tolerate NULL parameter.

14 years agoSubmitted by: Jonathan Dixon <joth@chromium.org>
Dr. Stephen Henson [Tue, 2 Nov 2010 15:58:05 +0000 (15:58 +0000)]
Submitted by: Jonathan Dixon <joth@chromium.org>
Reviewed by: steve

If store is NULL set flags correctly.

14 years agoPR: 2295
Dr. Stephen Henson [Mon, 11 Oct 2010 23:25:23 +0000 (23:25 +0000)]
PR: 2295
Submitted by: Alexei Khlebnikov <alexei.khlebnikov@opera.com>
Reviewed by: steve

OOM checking. Leak in OOM fix. Fall-through comment. Duplicate code
elimination.

14 years agox86_64-xlate.pl: fix LNK4078 and LNK4210 link warnings [from HEAD].
Andy Polyakov [Sun, 10 Oct 2010 21:12:18 +0000 (21:12 +0000)]
x86_64-xlate.pl: fix LNK4078 and LNK4210 link warnings [from HEAD].
PR: 2356

14 years agoPR: 2314
Dr. Stephen Henson [Sun, 10 Oct 2010 12:27:19 +0000 (12:27 +0000)]
PR: 2314
Submitted by: Mounir IDRASSI <mounir.idrassi@idrix.net>
Reviewed by: steve

Fix for double free bug in ssl/s3_clnt.c CVE-2010-2939

14 years agoWe can't always read 6 bytes in an OCSP response: fix so error statuses
Dr. Stephen Henson [Wed, 6 Oct 2010 18:01:14 +0000 (18:01 +0000)]
We can't always read 6 bytes in an OCSP response: fix so error statuses
are read correctly for non-blocking I/O.

14 years agoMinor documentation fixes, PR#2345
Dr. Stephen Henson [Mon, 4 Oct 2010 13:28:27 +0000 (13:28 +0000)]
Minor documentation fixes, PR#2345

14 years agoMinor documentation fixes, PR#2344
Dr. Stephen Henson [Mon, 4 Oct 2010 13:24:07 +0000 (13:24 +0000)]
Minor documentation fixes, PR#2344

14 years agoAdd call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
Dr. Stephen Henson [Sun, 3 Oct 2010 18:56:25 +0000 (18:56 +0000)]
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
this means that some implementations will be used automatically, e.g. aesni,
we do this for cryptodev anyway.

Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.

14 years agoAlpha assembler pack: adapt for Linux [from HEAD].
Andy Polyakov [Mon, 13 Sep 2010 20:32:53 +0000 (20:32 +0000)]
Alpha assembler pack: adapt for Linux [from HEAD].
PR: 2335

14 years agoVC-32.pl: default to nasm if neither nasm or nasmw is is found at the moment [from...
Andy Polyakov [Mon, 13 Sep 2010 16:29:00 +0000 (16:29 +0000)]
VC-32.pl: default to nasm if neither nasm or nasmw is is found at the moment [from HEAD].
PR: 2338

14 years agocrypto/bn/asm/s390x.S: drop redundant instructions [from HEAD].
Andy Polyakov [Fri, 10 Sep 2010 14:55:34 +0000 (14:55 +0000)]
crypto/bn/asm/s390x.S: drop redundant instructions [from HEAD].

14 years agosparcv9cap.c: disengange Solaris-specific CPU detection routine in favour
Andy Polyakov [Sun, 5 Sep 2010 19:48:19 +0000 (19:48 +0000)]
sparcv9cap.c: disengange Solaris-specific CPU detection routine in favour
of unified procedure relying on SIGILL [from HEAD].
PR: 2321

14 years agomake no-gost work on Windows
Dr. Stephen Henson [Thu, 2 Sep 2010 17:23:58 +0000 (17:23 +0000)]
make no-gost work on Windows

14 years agofix bug in AES_unwrap()
Dr. Stephen Henson [Mon, 30 Aug 2010 23:58:47 +0000 (23:58 +0000)]
fix bug in AES_unwrap()

14 years agoMore C language police work.
Bodo Möller [Fri, 27 Aug 2010 13:17:58 +0000 (13:17 +0000)]
More C language police work.

14 years agoPR: 1833
Dr. Stephen Henson [Fri, 27 Aug 2010 12:12:07 +0000 (12:12 +0000)]
PR: 1833
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>

Fix other cases not covered by original patch. (correct patch this time!)

14 years agooops, revert previous patch
Dr. Stephen Henson [Fri, 27 Aug 2010 12:10:12 +0000 (12:10 +0000)]
oops, revert previous patch

14 years agoC conformity fixes: Move declarations before statements in all blocks.
Bodo Möller [Fri, 27 Aug 2010 12:07:12 +0000 (12:07 +0000)]
C conformity fixes: Move declarations before statements in all blocks.

14 years agoPR: 1833
Dr. Stephen Henson [Fri, 27 Aug 2010 11:57:42 +0000 (11:57 +0000)]
PR: 1833
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>

Fix other cases not covered by original patch.

14 years agoC conformity fixes:
Bodo Möller [Fri, 27 Aug 2010 11:29:09 +0000 (11:29 +0000)]
C conformity fixes:
- Move declarations before statements in all blocks.
- Where 64-bit type is required, use it explicitly (not 1l).

14 years agoUpdate version numbers
Bodo Möller [Thu, 26 Aug 2010 18:45:21 +0000 (18:45 +0000)]
Update version numbers

14 years agoPatch from PR #1833 was broken: there's no s->s3->new_session
Bodo Möller [Thu, 26 Aug 2010 14:54:18 +0000 (14:54 +0000)]
Patch from PR #1833 was broken: there's no s->s3->new_session
(only s->new_session).

14 years ago(formatting error)
Bodo Möller [Thu, 26 Aug 2010 14:38:49 +0000 (14:38 +0000)]
(formatting error)

14 years agoNew 64-bit optimized implementation EC_GFp_nistp224_method().
Bodo Möller [Thu, 26 Aug 2010 14:29:27 +0000 (14:29 +0000)]
New 64-bit optimized implementation EC_GFp_nistp224_method().
Binary compatibility is not affected as this will only be
compiled in if explicitly requested (#ifdef EC_NISTP224_64_GCC_128).

Submitted by: Emilia Kasper (Google)

14 years agoupdate ordinals
Dr. Stephen Henson [Thu, 26 Aug 2010 14:25:53 +0000 (14:25 +0000)]
update ordinals

14 years agoPR: 1833
Dr. Stephen Henson [Thu, 26 Aug 2010 14:22:40 +0000 (14:22 +0000)]
PR: 1833
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>

Support for abbreviated handshakes when renegotiating.

14 years agoECC library bugfixes.
Bodo Möller [Thu, 26 Aug 2010 12:10:57 +0000 (12:10 +0000)]
ECC library bugfixes.

Submitted by: Emilia Kapser (Google)

14 years agoHarmonize with OpenSSL_1_0_0-stable version of CHANGES.
Bodo Möller [Thu, 26 Aug 2010 11:21:49 +0000 (11:21 +0000)]
Harmonize with OpenSSL_1_0_0-stable version of CHANGES.

14 years agoutil/cygwin.sh: maintainer's update [from HEAD].
Andy Polyakov [Tue, 24 Aug 2010 21:52:15 +0000 (21:52 +0000)]
util/cygwin.sh: maintainer's update [from HEAD].

Submitted by: Corinna Vinschen

14 years agoengine/Makefile: harmonize engine install rule for .dylib extension on MacOS X [from...
Andy Polyakov [Tue, 24 Aug 2010 21:46:58 +0000 (21:46 +0000)]
engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X [from HEAD].
PR: 2319

14 years agoMakefile.shared: fix brown-bag typo in link_o.darwin [from HEAD].
Andy Polyakov [Sat, 21 Aug 2010 11:37:17 +0000 (11:37 +0000)]
Makefile.shared: fix brown-bag typo in link_o.darwin [from HEAD].
PR: 2319

14 years agosha1-armv4-large.pl: reschedule instructions for dual-issue pipeline [from HEAD]
Andy Polyakov [Tue, 3 Aug 2010 15:36:52 +0000 (15:36 +0000)]
sha1-armv4-large.pl: reschedule instructions for dual-issue pipeline [from HEAD]
.

14 years agoMake inline assembler clang-friendly [from HEAD].
Andy Polyakov [Mon, 2 Aug 2010 21:54:48 +0000 (21:54 +0000)]
Make inline assembler clang-friendly [from HEAD].

14 years agoalphacpuid.pl: fix brown-bag bug [from HEAD].
Andy Polyakov [Wed, 28 Jul 2010 08:18:46 +0000 (08:18 +0000)]
alphacpuid.pl: fix brown-bag bug [from HEAD].

14 years agoReplace alphacpuid.s with alphacpuid.pl to ensure it makes to release tar-balls ...
Andy Polyakov [Mon, 26 Jul 2010 22:11:23 +0000 (22:11 +0000)]
Replace alphacpuid.s with alphacpuid.pl to ensure it makes to release tar-balls [from HEAD].
PR: 2309

14 years agoAdd modes.h to mkdef.pl, update ordinals.
Dr. Stephen Henson [Sun, 25 Jul 2010 17:48:35 +0000 (17:48 +0000)]
Add modes.h to mkdef.pl, update ordinals.

14 years agoFix WIN32 build system to correctly link ENGINE DLLs contained in a
Dr. Stephen Henson [Sat, 24 Jul 2010 17:55:47 +0000 (17:55 +0000)]
Fix WIN32 build system to correctly link ENGINE DLLs contained in a
directory: currently the GOST ENGINE is the only case.

14 years agoAdd call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
Dr. Stephen Henson [Wed, 21 Jul 2010 16:23:59 +0000 (16:23 +0000)]
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
this means that some implementations will be used automatically, e.g. aesni,
we do this for cryptodev anyway.

Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.

14 years agoPR: 1830
Dr. Stephen Henson [Sun, 18 Jul 2010 17:39:46 +0000 (17:39 +0000)]
PR: 1830
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>, Steve Henson

Support for RFC5705 key extractor.

14 years agoConfigure: suppress $multilib with non-system $prefix [from HEAD].
Andy Polyakov [Fri, 16 Jul 2010 08:14:11 +0000 (08:14 +0000)]
Configure: suppress $multilib with non-system $prefix [from HEAD].
PR: 2307

14 years agoMakefile.shared: update link_o.darwin rule [from HEAD].
Andy Polyakov [Fri, 16 Jul 2010 08:11:43 +0000 (08:11 +0000)]
Makefile.shared: update link_o.darwin rule [from HEAD].
PR: 2306

14 years agoARM assembler pack: reschedule instructions for dual-issue pipeline [from HEAD].
Andy Polyakov [Tue, 13 Jul 2010 14:08:22 +0000 (14:08 +0000)]
ARM assembler pack: reschedule instructions for dual-issue pipeline [from HEAD].
Modest improvement coefficients mean that code already had some
parallelism and there was not very much room for improvement. Special
thanks to Ted Krovetz for benchmarking the code with such patience.

14 years agoPR: 2297
Dr. Stephen Henson [Fri, 9 Jul 2010 17:25:46 +0000 (17:25 +0000)]
PR: 2297
Submitted by: Antony, Benoy <bantony@ebay.com>
Approved by: steve@openssl.org

Fix bug in AES wrap code when t > 0xff.

14 years agoINSTALL.W32: mention _OPENSSL_isservice() [from HEAD].
Andy Polyakov [Fri, 9 Jul 2010 14:32:22 +0000 (14:32 +0000)]
INSTALL.W32: mention _OPENSSL_isservice() [from HEAD].
PR: 2194

14 years agorand_nw.c: compensate for gcc bug (using %edx instead of %eax at -O3)
Andy Polyakov [Thu, 8 Jul 2010 09:15:49 +0000 (09:15 +0000)]
rand_nw.c: compensate for gcc bug (using %edx instead of %eax at -O3)
[from HEAD].
PR: 2296

14 years agoPROBLEMS: MacOS X is not necessarily a problem anymore [from HEAD].
Andy Polyakov [Thu, 8 Jul 2010 09:02:22 +0000 (09:02 +0000)]
PROBLEMS: MacOS X is not necessarily a problem anymore [from HEAD].

14 years agosparcv9cap.c: reiterate CPU detection logic [from HEAD].
Andy Polyakov [Thu, 8 Jul 2010 07:52:36 +0000 (07:52 +0000)]
sparcv9cap.c: reiterate CPU detection logic [from HEAD].

14 years agocrypto/sparc*: elininate _sparcv9_rdwrasi [from HEAD], original from Andy.
Dr. Stephen Henson [Mon, 5 Jul 2010 22:22:22 +0000 (22:22 +0000)]
crypto/sparc*: elininate _sparcv9_rdwrasi [from HEAD], original from Andy.

14 years agoSPARCv9 assembler pack: refine CPU detection on Linux, fix for "unaligned
Dr. Stephen Henson [Mon, 5 Jul 2010 22:20:36 +0000 (22:20 +0000)]
SPARCv9 assembler pack: refine CPU detection on Linux, fix for "unaligned
opcodes detected in executable segment" error [from HEAD], original from Andy.

14 years agoi variable is used on some platforms
Dr. Stephen Henson [Mon, 5 Jul 2010 11:03:50 +0000 (11:03 +0000)]
i variable is used on some platforms

14 years agono need for empty fragments with TLS 1.1 and later due to explicit IV
Dr. Stephen Henson [Sun, 27 Jun 2010 14:42:43 +0000 (14:42 +0000)]
no need for empty fragments with TLS 1.1 and later due to explicit IV

14 years agoBackport TLS v1.1 support from HEAD, ssl/ changes
Dr. Stephen Henson [Sun, 27 Jun 2010 14:22:11 +0000 (14:22 +0000)]
Backport TLS v1.1 support from HEAD, ssl/ changes

14 years agoBackport TLS v1.1 support from HEAD
Dr. Stephen Henson [Sun, 27 Jun 2010 14:15:02 +0000 (14:15 +0000)]
Backport TLS v1.1 support from HEAD

14 years agoupdate versions for 1.0.1
Dr. Stephen Henson [Wed, 16 Jun 2010 13:48:00 +0000 (13:48 +0000)]
update versions for 1.0.1

14 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Wed, 16 Jun 2010 13:37:23 +0000 (13:37 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_1_0_1-stable'.

14 years agoupdate README, fix opensslv.h
Dr. Stephen Henson [Wed, 16 Jun 2010 13:37:22 +0000 (13:37 +0000)]
update README, fix opensslv.h

14 years agoupdate for next version
Dr. Stephen Henson [Wed, 16 Jun 2010 13:34:33 +0000 (13:34 +0000)]
update for next version

14 years agoclarify comment
Dr. Stephen Henson [Wed, 16 Jun 2010 13:17:22 +0000 (13:17 +0000)]
clarify comment

14 years agoFix warnings (From HEAD, original patch by Ben).
Dr. Stephen Henson [Tue, 15 Jun 2010 17:25:15 +0000 (17:25 +0000)]
Fix warnings (From HEAD, original patch by Ben).

14 years agoVC-32.pl: fix /Fd name generation [from HEAD].
Andy Polyakov [Wed, 9 Jun 2010 15:49:09 +0000 (15:49 +0000)]
VC-32.pl: fix /Fd name generation [from HEAD].
PR: 2284

14 years agoprepare for release OpenSSL_1_0_0a
Dr. Stephen Henson [Tue, 1 Jun 2010 13:31:38 +0000 (13:31 +0000)]
prepare for release

14 years agoFix CVE-2010-1633 and CVE-2010-0742.
Dr. Stephen Henson [Tue, 1 Jun 2010 13:17:06 +0000 (13:17 +0000)]
Fix CVE-2010-1633 and CVE-2010-0742.

14 years agoVC-32.pl: unconditionally generate symbols.pdb [from HEAD].
Andy Polyakov [Tue, 1 Jun 2010 06:03:20 +0000 (06:03 +0000)]
VC-32.pl: unconditionally generate symbols.pdb [from HEAD].

14 years agox86_64-xlate.pl: updates from HEAD.
Andy Polyakov [Tue, 1 Jun 2010 05:57:26 +0000 (05:57 +0000)]
x86_64-xlate.pl: updates from HEAD.

14 years agoConfigure: update mingw config-lines [from HEAD].
Andy Polyakov [Tue, 1 Jun 2010 05:53:35 +0000 (05:53 +0000)]
Configure: update mingw config-lines [from HEAD].

14 years agofix PR#2261 in a different way
Dr. Stephen Henson [Mon, 31 May 2010 13:18:08 +0000 (13:18 +0000)]
fix PR#2261 in a different way

14 years agoPR: 2278
Dr. Stephen Henson [Sat, 29 May 2010 12:49:48 +0000 (12:49 +0000)]
PR: 2278
Submitted By: Mattias Ellert <mattias.ellert@fysast.uu.se>

Fix type checking macro SKM_ASN1_SET_OF_i2d

14 years agoupdate NEWS
Dr. Stephen Henson [Thu, 27 May 2010 15:05:01 +0000 (15:05 +0000)]
update NEWS

14 years agoPR: 2262
Dr. Stephen Henson [Thu, 27 May 2010 14:09:13 +0000 (14:09 +0000)]
PR: 2262
Submitted By: Victor Wagner <vitus@cryptocom.ru>

Fix error reporting in load_key function.

14 years agoPR: 2261
Dr. Stephen Henson [Thu, 27 May 2010 13:07:45 +0000 (13:07 +0000)]
PR: 2261
Submitted By: De Rudder, Stephen L." <s_derudder@tditx.com>

Workaround for newer Windows headers which define EADDRINUSE but not to the
same value as WSAEADDRINUSE.

14 years agoPR: 2258
Dr. Stephen Henson [Thu, 27 May 2010 12:41:20 +0000 (12:41 +0000)]
PR: 2258
Submitted By: Ger Hobbelt <ger@hobbelt.com>

Base64 BIO fixes:

Use OPENSSL_assert() instead of assert().
Use memmove() as buffers overlap.
Fix write retry logic.

14 years agoPR: 2266
Dr. Stephen Henson [Wed, 26 May 2010 23:23:44 +0000 (23:23 +0000)]
PR: 2266
Submitted By: Jonathan Gray <jsg@goblin.cx>

Correct ioctl definitions.

14 years agoAvoid use of ex_data free function in Chil ENGINE so it can be safely
Dr. Stephen Henson [Wed, 26 May 2010 16:17:06 +0000 (16:17 +0000)]
Avoid use of ex_data free function in Chil ENGINE so it can be safely
reloaded.

14 years agoPR: 2254
Dr. Stephen Henson [Sat, 22 May 2010 00:40:58 +0000 (00:40 +0000)]
PR: 2254
Submitted by: Ger Hobbelt <ger@hobbelt.com>
Approved by: steve@openssl.org

Check for <= 0 i2d return value.

14 years agoPR: 2251
Dr. Stephen Henson [Sat, 22 May 2010 00:31:02 +0000 (00:31 +0000)]
PR: 2251
Submitted by: Ger Hobbelt <ger@hobbelt.com>
Approved by: steve@openssl.org

Memleak, BIO chain leak and realloc checks in v3_pci.c

14 years agooops, typo
Dr. Stephen Henson [Thu, 20 May 2010 17:35:37 +0000 (17:35 +0000)]
oops, typo

14 years agoUpdate cms-test.pl to handle some Unix like Windows environments where
Dr. Stephen Henson [Thu, 20 May 2010 17:28:51 +0000 (17:28 +0000)]
Update cms-test.pl to handle some Unix like Windows environments where
calling shlib_wrap.sh doesn't work.

14 years agoPR: 2259
Dr. Stephen Henson [Mon, 17 May 2010 11:26:56 +0000 (11:26 +0000)]
PR: 2259
Submitted By: Artem Chuprina <ran@cryptocom.ru>

Check return values of HMAC in tls_P_hash and tls1_generate_key_block.

Although the previous version could in theory crash that would only happen if a
digest call failed. The standard software methods can never fail and only one
ENGINE currently uses digests and it is not compiled in by default.