summaryrefslogtreecommitdiff
path: root/lib/libssl/s3_srvr.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-07-30 11:08:07 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-07-30 11:08:07 +0000
commitec2c9329911f77937aa330151e6395d3a4230b2a (patch)
tree8af53631c6d9ac4914ea4ec6061eaf8ae67529e9 /lib/libssl/s3_srvr.c
parent2d81b99829f449b04b84aa9a3dc3b9c72f61550e (diff)
apply patches from OpenSSL Security Advisory [30 July 2002],
http://marc.theaimsgroup.com/?l=openssl-dev&m=102802395104110&w=2
Diffstat (limited to 'lib/libssl/s3_srvr.c')
-rw-r--r--lib/libssl/s3_srvr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libssl/s3_srvr.c b/lib/libssl/s3_srvr.c
index 99b6a869838..3748cd7c243 100644
--- a/lib/libssl/s3_srvr.c
+++ b/lib/libssl/s3_srvr.c
@@ -964,6 +964,7 @@ static int ssl3_send_server_hello(SSL *s)
s->session->session_id_length=0;
sl=s->session->session_id_length;
+ die(sl <= sizeof s->session->session_id);
*(p++)=sl;
memcpy(p,s->session->session_id,sl);
p+=sl;