mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
New utility functions to make ptrlens.
One to make one from a NUL-terminated string, and another to make one from a strbuf. I've switched over all the obvious cases where I should have been using these functions.
This commit is contained in:
@ -867,8 +867,8 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl)
|
||||
BinarySink_UPCAST(sigblob));
|
||||
strbuf_free(sigdata);
|
||||
ssh2_userauth_add_sigblob(
|
||||
s, s->pktout, make_ptrlen(pkblob->s, pkblob->len),
|
||||
make_ptrlen(sigblob->s, sigblob->len));
|
||||
s, s->pktout, ptrlen_from_strbuf(pkblob),
|
||||
ptrlen_from_strbuf(sigblob));
|
||||
strbuf_free(pkblob);
|
||||
strbuf_free(sigblob);
|
||||
|
||||
|
Reference in New Issue
Block a user