mirror of https://github.com/0intro/conterm
devssl fix (should not matter)
This commit is contained in:
parent
e3f50bcc5e
commit
43b112897a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue