1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -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:
Simon Tatham
2019-02-06 20:48:03 +00:00
parent 751a989091
commit 5b17a2ce20
7 changed files with 47 additions and 52 deletions

View File

@ -1002,7 +1002,7 @@ int main(int argc, char **argv)
} else {
assert(ssh2blob);
fingerprint = ssh2_fingerprint_blob(
ssh2blob->s, ssh2blob->len);
ptrlen_from_strbuf(ssh2blob));
}
}