devssl fix (should not matter)

This commit is contained in:
Russ Cox 2005-11-04 19:19:11 +00:00
parent e3f50bcc5e
commit 43b112897a
1 changed files with 3 additions and 2 deletions

View File

@ -623,7 +623,8 @@ sslbread(Chan *c, long n, ulong o)
if(b == nil)
error("ssl message too short (digesting)");
checkdigestb(s, b);
b->rp += s->diglen;
pullblock(&b, s->diglen);
len -= s->diglen;
break;
case Sdigenc:
b = decryptb(s, b);
@ -631,7 +632,7 @@ sslbread(Chan *c, long n, ulong o)
if(b == nil)
error("ssl message too short (dig+enc)");
checkdigestb(s, b);
b->rp += s->diglen;
pullblock(&b, s->diglen);
len -= s->diglen;
break;
}