ref: 43b112897a64086ff0cf834c8dbe8281229a402c
parent: e3f50bcc5e336dac070da941e7c1cdf922cc67c6
author: Russ Cox <rsc@swtch.com>
date: Fri Nov 4 14:19:11 EST 2005
devssl fix (should not matter)
--- a/kern/devssl.c
+++ b/kern/devssl.c
@@ -623,7 +623,8 @@
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 @@
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;
}