projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
277ba3e
)
Update from 1.0.0-stable.
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 13 May 2009 11:52:29 +0000
(11:52 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 13 May 2009 11:52:29 +0000
(11:52 +0000)
ssl/d1_both.c
patch
|
blob
|
history
diff --git
a/ssl/d1_both.c
b/ssl/d1_both.c
index c4590b872c94b5ed218f8b6eac79883d49949e57..9a2cdb2fb16be17ed503c65530ad9fe4ec8fc093 100644
(file)
--- a/
ssl/d1_both.c
+++ b/
ssl/d1_both.c
@@
-518,6
+518,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);
@@
-535,7
+536,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);