From: Dr. Stephen Henson Date: Wed, 13 May 2009 11:52:01 +0000 (+0000) Subject: Update from 1.0.0-stable. X-Git-Tag: OpenSSL-fips-2_0-rc1~1672 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=715feb3104d16cd49495c6e5ff3ef7be8ac2e355;p=oweals%2Fopenssl.git Update from 1.0.0-stable. --- diff --git a/ssl/d1_both.c b/ssl/d1_both.c index ffbe5131d7..8883760da5 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -519,6 +519,7 @@ dtls1_retrieve_buffered_fragment(SSL *s, long max, int *ok) if ( s->d1->handshake_read_seq == frag->msg_header.seq) { + unsigned long frag_len = frag->msg_header.frag_len; pqueue_pop(s->d1->buffered_messages); al=dtls1_preprocess_fragment(s,&frag->msg_header,max); @@ -536,7 +537,7 @@ dtls1_retrieve_buffered_fragment(SSL *s, long max, int *ok) if (al==0) { *ok = 1; - return frag->msg_header.frag_len; + return frag_len; } ssl3_send_alert(s,SSL3_AL_FATAL,al);