mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22: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:
@ -425,7 +425,8 @@ static void add_keyfile(Filename filename)
|
||||
keylist = get_keylist1(&keylistlen);
|
||||
} else {
|
||||
unsigned char *blob2;
|
||||
blob = ssh2_userkey_loadpub(&filename, NULL, &bloblen, &error);
|
||||
blob = ssh2_userkey_loadpub(&filename, NULL, &bloblen,
|
||||
NULL, &error);
|
||||
if (!blob) {
|
||||
char *msg = dupprintf("Couldn't load private key (%s)", error);
|
||||
message_box(msg, APPNAME, MB_OK | MB_ICONERROR,
|
||||
|
Reference in New Issue
Block a user