mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-15 10:07:39 -05:00
Assorted further migration to ptrlen.
The local put_mp_*_from_string functions in import.c now take ptrlen (which simplifies essentially all their call sites); so does the local function logwrite() in logging.c, and so does ssh2_fingerprint_blob.
This commit is contained in:
@ -428,8 +428,7 @@ void ssh2kex_coroutine(struct ssh2_transport_state *s, bool *aborted)
|
||||
if (s->hostkey_alg) {
|
||||
s->hkey = ssh_key_new_pub(s->hostkey_alg,
|
||||
s->hostkeydata);
|
||||
put_string(s->exhash,
|
||||
s->hostkeydata.ptr, s->hostkeydata.len);
|
||||
put_stringpl(s->exhash, s->hostkeydata);
|
||||
}
|
||||
/*
|
||||
* Can't loop as we have no token to pass to
|
||||
|
Reference in New Issue
Block a user