mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Add ability for ssh2_userkey_loadpub() to return the key comment.
(Not actually used currently, but it makes life easier for a patch I'm working on.) [originally from svn r6433]
This commit is contained in:
2
cmdgen.c
2
cmdgen.c
@ -722,7 +722,7 @@ int main(int argc, char **argv)
|
||||
case SSH_KEYTYPE_SSH2:
|
||||
if (!load_encrypted) {
|
||||
ssh2blob = ssh2_userkey_loadpub(&infilename, &ssh2alg,
|
||||
&ssh2bloblen, &error);
|
||||
&ssh2bloblen, NULL, &error);
|
||||
ssh2algf = find_pubkey_alg(ssh2alg);
|
||||
if (ssh2algf)
|
||||
bits = ssh2algf->pubkey_bits(ssh2blob, ssh2bloblen);
|
||||
|
Reference in New Issue
Block a user