mirror of https://github.com/macssh/macssh.git
replaced decrypt into kdecrypt
This commit is contained in:
parent
3fdb2e5f22
commit
f03f50da96
|
@ -479,7 +479,7 @@ short netread(short pnum, void *buffer, short n)
|
||||||
|
|
||||||
/* Decrypt data */
|
/* Decrypt data */
|
||||||
if (p->aedata && ((tnParams *)p->aedata)->decrypting)
|
if (p->aedata && ((tnParams *)p->aedata)->decrypting)
|
||||||
decrypt((tnParams *)p->aedata, buffer, (long)reqdamt);
|
kdecrypt((tnParams *)p->aedata, buffer, (long)reqdamt);
|
||||||
|
|
||||||
MyPBreturn(pbp);
|
MyPBreturn(pbp);
|
||||||
return(reqdamt);
|
return(reqdamt);
|
||||||
|
@ -654,7 +654,7 @@ short Rnetwrite(short pnum, void *buffer, short nsend)
|
||||||
* encrypt if encrypting the session
|
* encrypt if encrypting the session
|
||||||
*/
|
*/
|
||||||
if (p->aedata && ((tnParams *)p->aedata)->encrypting)
|
if (p->aedata && ((tnParams *)p->aedata)->encrypting)
|
||||||
encrypt((tnParams *)p->aedata, (unsigned char *)swds[m].ptr, swds[m].length);
|
kencrypt((tnParams *)p->aedata, (unsigned char *)swds[m].ptr, swds[m].length);
|
||||||
buffer=(void *)((char *)buffer + swds[m].length);
|
buffer=(void *)((char *)buffer + swds[m].length);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue