mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
tag SSL_peek bugs
This commit is contained in:
parent
b1d6e3f551
commit
f7a059316f
@ -70,6 +70,7 @@ int ssl2_peek(SSL *s, char *buf, int len)
|
||||
{
|
||||
int ret;
|
||||
|
||||
/* FIXME */
|
||||
ret=ssl2_read(s,buf,len);
|
||||
if (ret > 0)
|
||||
{
|
||||
|
@ -1283,6 +1283,7 @@ int ssl3_peek(SSL *s, char *buf, int len)
|
||||
SSL3_RECORD *rr;
|
||||
int n;
|
||||
|
||||
/* FIXME */
|
||||
rr= &(s->s3->rrec);
|
||||
if ((rr->length == 0) || (rr->type != SSL3_RT_APPLICATION_DATA))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user