Andy Polyakov [Thu, 7 Jan 2010 13:12:30 +0000 (13:12 +0000)]
cvs.openssl.org/chngview?cn=19053 made me wonder if bind() and
connect() are as finicky as sendto() when it comes to socket address
length. As it turned out they are, therefore the fix. Note that you
can't reproduce the problem on Linux, it was failing on Solaris,
FreeBSD, most likely on more...
Andy Polyakov [Thu, 7 Jan 2010 10:42:39 +0000 (10:42 +0000)]
sendto is reportedly picky about destination socket address length.
PR: 2114
Submitted by: Robin Seggelmann
Andy Polyakov [Wed, 6 Jan 2010 21:22:56 +0000 (21:22 +0000)]
Fix compilation on older Linux. Linux didn't always have sockaddr_storage,
not to mention that first sockaddr_storage had __ss_family, not ss_family.
In other words it makes more sense to avoid sockaddr_storage...
Dr. Stephen Henson [Wed, 6 Jan 2010 17:37:09 +0000 (17:37 +0000)]
Updates to conform with draft-ietf-tls-renegotiation-03.txt:
1. Add provisional SCSV value.
2. Don't send SCSV and RI at same time.
3. Fatal error is SCSV received when renegotiating.
Dr. Stephen Henson [Wed, 6 Jan 2010 17:35:27 +0000 (17:35 +0000)]
Missing commit from change ofr compress_meth to unsigned
Dr. Stephen Henson [Wed, 6 Jan 2010 14:01:45 +0000 (14:01 +0000)]
compress_meth should be unsigned
Dr. Stephen Henson [Wed, 6 Jan 2010 13:21:08 +0000 (13:21 +0000)]
ENGINE_load_capi() now exists on all platforms (but no op on non-WIN32)
Andy Polyakov [Wed, 6 Jan 2010 10:58:59 +0000 (10:58 +0000)]
ppc64-mont.pl: commentary update.
Andy Polyakov [Wed, 6 Jan 2010 10:57:55 +0000 (10:57 +0000)]
Add Montgomery multiplication module for IA-64.
Dr. Stephen Henson [Tue, 5 Jan 2010 17:57:33 +0000 (17:57 +0000)]
PR: 2102
Submitted by: John Fitzgibbon <john_fitzgibbon@yahoo.com>
Remove duplicate definitions.
Dr. Stephen Henson [Tue, 5 Jan 2010 17:49:49 +0000 (17:49 +0000)]
Typo
Dr. Stephen Henson [Tue, 5 Jan 2010 17:32:54 +0000 (17:32 +0000)]
PR: 2132
Submitted by: steve
Fix bundled pod2man.pl to handle alternative comment formats.
Dr. Stephen Henson [Tue, 5 Jan 2010 17:16:54 +0000 (17:16 +0000)]
Remove tabs on blank lines: they produce warnings in pod2man
Dr. Stephen Henson [Fri, 1 Jan 2010 14:39:37 +0000 (14:39 +0000)]
Client side compression algorithm sanity checks: ensure old compression
algorithm matches current and give error if compression is disabled and
server requests it (shouldn't happen unless server is broken).
Dr. Stephen Henson [Thu, 31 Dec 2009 14:13:30 +0000 (14:13 +0000)]
Compression handling on session resume was badly broken: it always
used compression algorithms in client hello (a legacy from when
the compression algorithm wasn't serialized with SSL_SESSION).
Dr. Stephen Henson [Thu, 31 Dec 2009 13:58:57 +0000 (13:58 +0000)]
Include CHANGES entry for external cache
Andy Polyakov [Wed, 30 Dec 2009 12:55:23 +0000 (12:55 +0000)]
b_sock.c: correct indirect calls on WinSock platforms.
PR: 2130
Submitted by: Eugeny Gostyukhin
Andy Polyakov [Wed, 30 Dec 2009 11:46:54 +0000 (11:46 +0000)]
Adapt mingw config for newer mingw environment. Note modified conditional
compilation in e_capi.c.
PR: 2113
Andy Polyakov [Tue, 29 Dec 2009 11:18:16 +0000 (11:18 +0000)]
ppccap.c: fix compiler warning and perform sanity check outside signal masking.
ppc64-mont.pl: clarify comment and fix spelling.
Andy Polyakov [Tue, 29 Dec 2009 10:33:37 +0000 (10:33 +0000)]
Deploy multilib config-line parameter. It was added in February to allow
for kind of installation suggested in ticket #2003 from August. What it
effectively does now, is arrange pre-configured default $libdir value.
Note that it also fixes ENGINESDIR, i.e. harmonizes it with install path.
Andy Polyakov [Mon, 28 Dec 2009 16:13:35 +0000 (16:13 +0000)]
PA-RISC assembler: missing symbol and typos.
Dr. Stephen Henson [Mon, 28 Dec 2009 00:31:16 +0000 (00:31 +0000)]
return v1.1 methods for client/server
Dr. Stephen Henson [Sun, 27 Dec 2009 23:24:45 +0000 (23:24 +0000)]
Add simple external session cache to s_server. This serialises sessions
just like a "real" server making it easier to trace any problems.
Dr. Stephen Henson [Sun, 27 Dec 2009 23:02:50 +0000 (23:02 +0000)]
Typo
Dr. Stephen Henson [Sun, 27 Dec 2009 22:58:55 +0000 (22:58 +0000)]
Update RI to match latest spec.
MCSV is now called SCSV.
Don't send SCSV if renegotiating.
Also note if RI is empty in debug messages.
Andy Polyakov [Sun, 27 Dec 2009 21:05:19 +0000 (21:05 +0000)]
Update sha512-parisc.pl and add make rules.
Andy Polyakov [Sun, 27 Dec 2009 20:49:40 +0000 (20:49 +0000)]
Throw in more PA-RISC assembler.
Andy Polyakov [Sun, 27 Dec 2009 20:38:32 +0000 (20:38 +0000)]
Switch to new uplink assembler.
Andy Polyakov [Sun, 27 Dec 2009 11:25:24 +0000 (11:25 +0000)]
ppccap.c: tidy up.
ppc64-mont.pl: missing predicate in commentary.
Andy Polyakov [Sat, 26 Dec 2009 21:30:13 +0000 (21:30 +0000)]
ppc64-mont.pl: adapt for 32-bit and engage for all builds.
Dr. Stephen Henson [Fri, 25 Dec 2009 14:13:11 +0000 (14:13 +0000)]
Traditional Yuletide commit ;-)
Add Triple DES CFB1 and CFB8 to algorithm list and NID translation.
Bodo Möller [Tue, 22 Dec 2009 11:52:17 +0000 (11:52 +0000)]
Use properly local variables for thread-safety.
Submitted by: Martin Rex
Bodo Möller [Tue, 22 Dec 2009 11:46:00 +0000 (11:46 +0000)]
Constify crypto/cast.
Bodo Möller [Tue, 22 Dec 2009 10:58:33 +0000 (10:58 +0000)]
Constify crypto/cast.
Dr. Stephen Henson [Thu, 17 Dec 2009 15:42:52 +0000 (15:42 +0000)]
Alert to use is now defined in spec: update code
Dr. Stephen Henson [Thu, 17 Dec 2009 15:27:57 +0000 (15:27 +0000)]
PR: 2127
Submitted by: Tomas Mraz <tmraz@redhat.com>
Check for lookup failures in EVP_PBE_CipherInit().
Dr. Stephen Henson [Wed, 16 Dec 2009 20:25:59 +0000 (20:25 +0000)]
New option to enable/disable connection to unpatched servers
Dr. Stephen Henson [Mon, 14 Dec 2009 13:56:04 +0000 (13:56 +0000)]
Allow initial connection (but no renegoriation) to servers which don't support
RI.
Reorganise RI checking code and handle some missing cases.
Dr. Stephen Henson [Fri, 11 Dec 2009 00:23:12 +0000 (00:23 +0000)]
Move SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION out of SSL_OP_ALL and move SSL_OP_NO_TLSv1_1
Dr. Stephen Henson [Wed, 9 Dec 2009 18:16:50 +0000 (18:16 +0000)]
clarify docs
Dr. Stephen Henson [Wed, 9 Dec 2009 17:59:29 +0000 (17:59 +0000)]
Document option clearning functions.
Initial secure renegotiation documentation.
Dr. Stephen Henson [Wed, 9 Dec 2009 15:56:24 +0000 (15:56 +0000)]
remove DEBUG_UNUSED from config for now
Dr. Stephen Henson [Wed, 9 Dec 2009 15:03:44 +0000 (15:03 +0000)]
Check s3 is not NULL
Dr. Stephen Henson [Wed, 9 Dec 2009 15:01:39 +0000 (15:01 +0000)]
Add patch to crypto/evp which didn't apply from PR#2124
Dr. Stephen Henson [Wed, 9 Dec 2009 14:59:47 +0000 (14:59 +0000)]
Revert lhash patch for PR#2124
Dr. Stephen Henson [Wed, 9 Dec 2009 13:38:05 +0000 (13:38 +0000)]
PR: 2124
Submitted by: Jan Pechanec <Jan.Pechanec@Sun.COM>
Check for memory allocation failures.
Dr. Stephen Henson [Wed, 9 Dec 2009 13:25:16 +0000 (13:25 +0000)]
Add ctrls to clear options and mode.
Change RI ctrl so it doesn't clash.
Dr. Stephen Henson [Tue, 8 Dec 2009 19:06:26 +0000 (19:06 +0000)]
Send no_renegotiation alert as required by spec.
Dr. Stephen Henson [Tue, 8 Dec 2009 13:42:08 +0000 (13:42 +0000)]
Add ctrl and macro so we can determine if peer support secure renegotiation.
Dr. Stephen Henson [Tue, 8 Dec 2009 13:14:03 +0000 (13:14 +0000)]
Add support for magic cipher suite value (MCSV). Make secure renegotiation
work in SSLv3: initial handshake has no extensions but includes MCSV, if
server indicates RI support then renegotiation handshakes include RI.
NB: current MCSV value is bogus for testing only, will be updated when we
have an official value.
Change mismatch alerts to handshake_failure as required by spec.
Also have some debugging fprintfs so we can clearly see what is going on
if OPENSSL_RI_DEBUG is set.
Dr. Stephen Henson [Tue, 8 Dec 2009 11:37:40 +0000 (11:37 +0000)]
PR: 2121
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Add extension support to DTLS code mainly using existing implementation for
TLS.
Dr. Stephen Henson [Mon, 7 Dec 2009 13:31:02 +0000 (13:31 +0000)]
Initial experimental TLSv1.1 support
Dr. Stephen Henson [Wed, 2 Dec 2009 15:28:42 +0000 (15:28 +0000)]
PR: 2111
Submitted by: Martin Olsson <molsson@opera.com>
Check for bn_wexpand errors in bn_mul.c
Dr. Stephen Henson [Wed, 2 Dec 2009 15:28:27 +0000 (15:28 +0000)]
Update CHANGES.
Dr. Stephen Henson [Wed, 2 Dec 2009 14:41:51 +0000 (14:41 +0000)]
Replace the broken SPKAC certification with the correct version.
Dr. Stephen Henson [Wed, 2 Dec 2009 14:25:40 +0000 (14:25 +0000)]
Check it actually compiles this time ;-)
Dr. Stephen Henson [Wed, 2 Dec 2009 13:56:45 +0000 (13:56 +0000)]
PR: 2120
Submitted by: steve@openssl.org
Initialize fields correctly if pem_str or info are NULL in EVP_PKEY_asn1_new().
Dr. Stephen Henson [Tue, 1 Dec 2009 18:40:50 +0000 (18:40 +0000)]
Ooops...
Dr. Stephen Henson [Tue, 1 Dec 2009 18:39:33 +0000 (18:39 +0000)]
check DSA_sign() return value properly
Dr. Stephen Henson [Tue, 1 Dec 2009 17:42:15 +0000 (17:42 +0000)]
PR: 2115
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Approved by: steve@openssl.org
Add Renegotiation extension to DTLS, fix DTLS ClientHello processing bug.
Dr. Stephen Henson [Tue, 1 Dec 2009 17:32:44 +0000 (17:32 +0000)]
PR: 1432
Submitted by: "Andrzej Chmielowiec" <achmielowiec@enigma.com.pl>, steve@openssl.org
Approved by: steve@openssl.org
Truncate hash if it is too large: as required by FIPS 186-3.
Dr. Stephen Henson [Mon, 30 Nov 2009 13:56:04 +0000 (13:56 +0000)]
PR: 2118
Submitted by: Mounir IDRASSI <mounir.idrassi@idrix.net>
Approved by: steve@openssl.org
Check return value of ECDSA_sign() properly.
Dr. Stephen Henson [Sun, 29 Nov 2009 13:45:42 +0000 (13:45 +0000)]
typo
Andy Polyakov [Thu, 26 Nov 2009 20:52:08 +0000 (20:52 +0000)]
bss_dgram.c: re-fix BIO_CTRL_DGRAM_GET_PEER.
PR: 2110
Dr. Stephen Henson [Thu, 26 Nov 2009 18:57:39 +0000 (18:57 +0000)]
Experimental CMS password based recipient Info support.
Bodo Möller [Thu, 26 Nov 2009 18:43:17 +0000 (18:43 +0000)]
Make CHANGES in CVS head consistent with the CHANGES files in the
branches.
This means that http://www.openssl.org/news/changelog.html will
finally describe 0.9.8l.
Dr. Stephen Henson [Wed, 25 Nov 2009 22:07:49 +0000 (22:07 +0000)]
Add OID for PWRI KEK algorithm.
Dr. Stephen Henson [Wed, 25 Nov 2009 22:07:22 +0000 (22:07 +0000)]
Add PBKFD2 prototype.
Dr. Stephen Henson [Wed, 25 Nov 2009 22:01:06 +0000 (22:01 +0000)]
Split PBES2 into cipher and PBKDF2 versions. This tidies the code somewhat
and is a pre-requisite to adding password based CMS support.
Andy Polyakov [Mon, 23 Nov 2009 20:28:17 +0000 (20:28 +0000)]
cms-test.pl: use EXE_EXT.
PR: 2107
Andy Polyakov [Thu, 19 Nov 2009 22:29:03 +0000 (22:29 +0000)]
util/pl/VC-32.pl: bufferoverflowu.lib only when actually needed and
eliminate duplicate code.
PR: 2086
Dr. Stephen Henson [Wed, 18 Nov 2009 15:09:44 +0000 (15:09 +0000)]
Servers can't end up talking SSLv2 with legacy renegotiation disabled
Dr. Stephen Henson [Wed, 18 Nov 2009 14:45:48 +0000 (14:45 +0000)]
Don't use SSLv2 compatible client hello if we don't tolerate legacy renegotiation
Dr. Stephen Henson [Wed, 18 Nov 2009 14:20:21 +0000 (14:20 +0000)]
Include a more meaningful error message when rejecting legacy renegotiation
Dr. Stephen Henson [Tue, 17 Nov 2009 13:25:53 +0000 (13:25 +0000)]
PR: 2103
Submitted by: Rob Austein <sra@hactrn.net>
Approved by: steve@openssl.org
Initialise atm.flags to 0.
Dr. Stephen Henson [Sun, 15 Nov 2009 19:05:13 +0000 (19:05 +0000)]
PR: 2101 (additional)
Submitted by: Roumen Petrov <openssl@roumenpetrov.info>
Approved by: steve@openssl.org
Another mingw fix.
Andy Polyakov [Sun, 15 Nov 2009 17:34:24 +0000 (17:34 +0000)]
OPENSSL_ia32cap.pod update.
Andy Polyakov [Sun, 15 Nov 2009 17:29:31 +0000 (17:29 +0000)]
Add sha512-parisc.pl.
Andy Polyakov [Sun, 15 Nov 2009 17:26:11 +0000 (17:26 +0000)]
SHA1 assembler show off: minor performance updates and new modules for
forgotten CPUs.
Andy Polyakov [Sun, 15 Nov 2009 17:19:49 +0000 (17:19 +0000)]
sha512.c: there apparently is ILP32 PowerPC platform, where it is safe to
inline 64-bit assembler instructions. Normally it's inappropriate, because
signalling doesn't preserve upper halves of general purpose registers.
Meaning that it's only safe if signals are blocked for the time "wide"
code executes.
PR: 1998
Andy Polyakov [Sun, 15 Nov 2009 17:11:38 +0000 (17:11 +0000)]
x86_64-xlate.pl: new gas requires sign extention in lea instruction.
This resolves md5-x86_64.pl and sha1-x86_64.pl bugs, but without modifying
the code.
PR: 2094,2095
Andy Polyakov [Sun, 15 Nov 2009 17:06:44 +0000 (17:06 +0000)]
x86masm.pl: eliminate linker "multiple sections found with different
attributes" warning.
Andy Polyakov [Sun, 15 Nov 2009 17:03:33 +0000 (17:03 +0000)]
bss_dgram.c: more elegant solution to PR#2069. Use socklen_t heuristic
from b_sock.c, don't assume that caller always passes pointer to buffer
large enough to hold sockaddr_storage.
PR: 2069
Andy Polyakov [Sun, 15 Nov 2009 16:52:11 +0000 (16:52 +0000)]
b_sock.c: fix compiler warning.
Andy Polyakov [Sun, 15 Nov 2009 16:40:22 +0000 (16:40 +0000)]
aesni-x86.pl: eliminate development comments.
Dr. Stephen Henson [Fri, 13 Nov 2009 13:44:25 +0000 (13:44 +0000)]
PR: 2101
Submitted by: Doug Kaufman <dkaufman@rahul.net>
Approved by: steve@openssl.org
Fixes for tests in cms-test.pl
Dr. Stephen Henson [Thu, 12 Nov 2009 19:56:56 +0000 (19:56 +0000)]
PR: 2088
Submitted by: Aleksey Samsonov <s4ms0n0v@gmail.com>
Approved by: steve@openssl.org
Fix memory leak in d2i_PublicKey().
Dr. Stephen Henson [Thu, 12 Nov 2009 19:25:37 +0000 (19:25 +0000)]
set engine to NULL after releasing it
Richard Levitte [Thu, 12 Nov 2009 17:03:10 +0000 (17:03 +0000)]
Update from 1.0.0-stable
Dr. Stephen Henson [Wed, 11 Nov 2009 19:05:20 +0000 (19:05 +0000)]
PR: 2098
Submitted by: Corinna Vinschen <vinschen@redhat.com>
Approved by: steve@openssl.org
For Cygwin enable zlib and mdc2 by default.
Dr. Stephen Henson [Wed, 11 Nov 2009 14:51:19 +0000 (14:51 +0000)]
add missing parts of reneg port, fix apps patch
Dr. Stephen Henson [Wed, 11 Nov 2009 14:10:24 +0000 (14:10 +0000)]
commit missing apps code for reneg fix
Dr. Stephen Henson [Tue, 10 Nov 2009 01:52:41 +0000 (01:52 +0000)]
PR: 1686
Submitted by: Hanno BÃ\83¶ck <hanno@hboeck.de>
Approved by: steve@openssl.org
Create engines dir if it doesn't already exist.
Dr. Stephen Henson [Tue, 10 Nov 2009 01:00:07 +0000 (01:00 +0000)]
PR: 2091
Submitted by: Martin Kaiser <lists@kaiser.cx>, Stephen Henson
Approved by: steve@openssl.org
If an OID has no short name or long name return the numerical representation.
Dr. Stephen Henson [Tue, 10 Nov 2009 00:48:07 +0000 (00:48 +0000)]
PR: 2090
Submitted by: Martin Kaiser <lists@kaiser.cx>, Stephen Henson
Approved by: steve@openssl.org
Improve error checking in asn1_gen.c
Dr. Stephen Henson [Mon, 9 Nov 2009 19:03:34 +0000 (19:03 +0000)]
First cut of renegotiation extension. (port to HEAD)
Dr. Stephen Henson [Mon, 9 Nov 2009 17:33:32 +0000 (17:33 +0000)]
update CHANGES
Dr. Stephen Henson [Mon, 9 Nov 2009 14:56:33 +0000 (14:56 +0000)]
make udpate
Dr. Stephen Henson [Mon, 9 Nov 2009 14:13:23 +0000 (14:13 +0000)]
Remove BF_PTR2 from configuration: it doesn't improve performance any more and causes gcc warnings about arrays out of range
Dr. Stephen Henson [Sun, 8 Nov 2009 14:36:12 +0000 (14:36 +0000)]
If it is a new session don't send the old TLS ticket: send a zero length
ticket to request a new session.