doc/share/security/patches/SA-04:05/openssl.patch
Bjoern A. Zeeb 3571e53040 Import FreeBSD Security Advisories and Errata Notices, as well as their
patches for easier mirroring, to eliminate a special copy, to make
www.freebsd.org/security a full copy of security.freebsd.org and be
eventually be the same.

For now files are just sitting there.   The symlinks are missing.

Discussed on:	www (repository location)
Discussed with:	simon (so)
2012-08-15 06:19:40 +00:00

24 lines
681 B
Diff

Index: crypto/openssl/ssl/s3_pkt.c
===================================================================
RCS file: /home/ncvs/src/crypto/openssl/ssl/s3_pkt.c,v
retrieving revision 1.1.1.8
diff -c -r1.1.1.8 s3_pkt.c
*** crypto/openssl/ssl/s3_pkt.c 19 Feb 2003 23:17:05 -0000 1.1.1.8
--- crypto/openssl/ssl/s3_pkt.c 16 Mar 2004 13:18:28 -0000
***************
*** 1085,1090 ****
--- 1085,1098 ----
goto err;
}
+ /* Check we have a cipher to change to */
+ if (s->s3->tmp.new_cipher == NULL)
+ {
+ i=SSL_AD_UNEXPECTED_MESSAGE;
+ SSLerr(SSL_F_SSL3_GET_CERT_VERIFY,SSL_R_CCS_RECEIVED_EARLY);
+ goto err;
+ }
+
rr->length=0;
if (s->msg_callback)