Skip to content

Commit

Permalink
OCSP stapling fix (OpenSSL 0.9.8r/1.0.0d)
Browse files Browse the repository at this point in the history
Submitted by: Neel Mehta, Adam Langley, Bodo Moeller
  • Loading branch information
45264 committed Feb 8, 2011
1 parent f4001a0 commit 9770924
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion FAQ
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ OpenSSL - Frequently Asked Questions
* Which is the current version of OpenSSL?

The current version is available from <URL: http://www.openssl.org>.
OpenSSL 1.0.0c was released on Dec 2nd, 2010.
OpenSSL 1.0.0d was released on Feb 8th, 2011.

In addition to the current stable release, you can also access daily
snapshots of the OpenSSL development version at <URL:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
---------------

/* ====================================================================
* Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved.
* Copyright (c) 1998-2011 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand Down
8 changes: 8 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
This file gives a brief overview of the major changes between each OpenSSL
release. For more details please read the CHANGES file.

Major changes between OpenSSL 1.0.0c and OpenSSL 1.0.0d:

o Fix for security issue CVE-2011-0014

Major changes between OpenSSL 1.0.0b and OpenSSL 1.0.0c:

o Fix for security issue CVE-2010-4180
Expand Down Expand Up @@ -47,6 +51,10 @@
o Opaque PRF Input TLS extension support.
o Updated time routines to avoid OS limitations.

Major changes between OpenSSL 0.9.8q and OpenSSL 0.9.8r:

o Fix for security issue CVE-2011-0014

Major changes between OpenSSL 0.9.8p and OpenSSL 0.9.8q:

o Fix for security issue CVE-2010-4180
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

OpenSSL 1.1.0-dev XX xxx XXXX
OpenSSL 1.1.0-dev

Copyright (c) 1998-2009 The OpenSSL Project
Copyright (c) 1998-2011 The OpenSSL Project
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
All rights reserved.

Expand Down
9 changes: 8 additions & 1 deletion STATUS
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@

OpenSSL STATUS Last modified at
______________ $Date: 2010/11/16 14:18:51 $
______________ $Date: 2011/02/08 17:48:56 $

DEVELOPMENT STATE

o OpenSSL 1.1.0: Under development...
o OpenSSL 1.0.1: Under development...
o OpenSSL 1.0.0d: Released on February 8nd, 2011
o OpenSSL 1.0.0c: Released on December 2nd, 2010
o OpenSSL 1.0.0b: Released on November 16th, 2010
o OpenSSL 1.0.0a: Released on June 1st, 2010
o OpenSSL 1.0.0: Released on March 29th, 2010
o OpenSSL 0.9.8r: Released on February 8nd, 2011
o OpenSSL 0.9.8q: Released on December 2nd, 2010
o OpenSSL 0.9.8p: Released on November 16th, 2010
o OpenSSL 0.9.8o: Released on June 1st, 2010
o OpenSSL 0.9.8n: Released on March 24th, 2010
o OpenSSL 0.9.8m: Released on February 25th, 2010
o OpenSSL 0.9.8l: Released on November 5th, 2009
Expand Down
8 changes: 7 additions & 1 deletion ssl/t1_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
}
n2s(data, idsize);
dsize -= 2 + idsize;
size -= 2 + idsize;
if (dsize < 0)
{
*al = SSL_AD_DECODE_ERROR;
Expand Down Expand Up @@ -992,9 +993,14 @@ int ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d, in
}

/* Read in request_extensions */
if (size < 2)
{
*al = SSL_AD_DECODE_ERROR;
return 0;
}
n2s(data,dsize);
size -= 2;
if (dsize > size)
if (dsize != size)
{
*al = SSL_AD_DECODE_ERROR;
return 0;
Expand Down
2 changes: 1 addition & 1 deletion util/mkerr.pl
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
} else {
push @out,
"/* ====================================================================\n",
" * Copyright (c) 2001-2010 The OpenSSL Project. All rights reserved.\n",
" * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved.\n",
" *\n",
" * Redistribution and use in source and binary forms, with or without\n",
" * modification, are permitted provided that the following conditions\n",
Expand Down

0 comments on commit 9770924

Please sign in to comment.