tag SSL_peek bugs

This commit is contained in:
Bodo Möller 2000-11-17 11:49:29 +00:00
parent b1d6e3f551
commit f7a059316f
2 changed files with 2 additions and 0 deletions

View File

@ -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)
{

View File

@ -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))
{