projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure we reset the read sequence when skipping records
[openssl.git]
/
ssl
/
record
/
ssl3_record.c
diff --git
a/ssl/record/ssl3_record.c
b/ssl/record/ssl3_record.c
index 94c221f558ba6bbc06fbbb95b7f9e5054f24d104..3228bda4b9afd4a1a6b59cea8744b67ac46c26a5 100644
(file)
--- a/
ssl/record/ssl3_record.c
+++ b/
ssl/record/ssl3_record.c
@@
-433,6
+433,7
@@
int ssl3_get_record(SSL *s)
thisrr->length = 0;
thisrr->read = 1;
RECORD_LAYER_set_numrpipes(&s->rlayer, 1);
thisrr->length = 0;
thisrr->read = 1;
RECORD_LAYER_set_numrpipes(&s->rlayer, 1);
+ RECORD_LAYER_reset_read_sequence(&s->rlayer);
return 1;
}
al = SSL_AD_DECRYPTION_FAILED;
return 1;
}
al = SSL_AD_DECRYPTION_FAILED;
@@
-516,6
+517,7
@@
int ssl3_get_record(SSL *s)
thisrr->length = 0;
thisrr->read = 1;
RECORD_LAYER_set_numrpipes(&s->rlayer, 1);
thisrr->length = 0;
thisrr->read = 1;
RECORD_LAYER_set_numrpipes(&s->rlayer, 1);
+ RECORD_LAYER_reset_read_sequence(&s->rlayer);
return 1;
}
/*
return 1;
}
/*