X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f3165540e742770b778e5276b124b0394158510d..7440fd4419acfc9c784f142fb9dee3e64c9a18c2:/puttygen.c diff --git a/puttygen.c b/puttygen.c index 8ce452a2..ffe4317d 100644 --- a/puttygen.c +++ b/puttygen.c @@ -2,8 +2,6 @@ * PuTTY key generation front end. */ -#include -#include #include #include #include @@ -12,7 +10,8 @@ #include "putty.h" #include "ssh.h" -#include "winstuff.h" + +#include #ifdef MSVC4 #define ICON_BIG 1 @@ -681,14 +680,14 @@ void load_key_file(HWND hwnd, struct MainDlgState *state, if (type == SSH_KEYTYPE_SSH1) { if (realtype == type) ret = loadrsakey(&filename, &newkey1, - passphrase); + passphrase, NULL); else ret = import_ssh1(&filename, realtype, &newkey1, passphrase); } else { if (realtype == type) newkey2 = ssh2_load_userkey(&filename, - passphrase); + passphrase, NULL); else newkey2 = import_ssh2(&filename, realtype, passphrase); @@ -857,7 +856,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg, AppendMenu(menu1, MF_ENABLED, IDC_EXPORT_SSHCOM, "Export &ssh.com key"); AppendMenu(menu, MF_POPUP | MF_ENABLED, (UINT) menu1, - "&Conversions"); + "Con&versions"); state->cvtmenu = menu1; menu1 = CreateMenu(); @@ -900,7 +899,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg, "&Public key for pasting into authorized_keys file:", IDC_PKSTATIC, IDC_KEYDISPLAY, 5); SendDlgItemMessage(hwnd, IDC_KEYDISPLAY, EM_SETREADONLY, 1, 0); - staticedit(&cp, "Key fingerprint:", IDC_FPSTATIC, + staticedit(&cp, "Key f&ingerprint:", IDC_FPSTATIC, IDC_FINGERPRINT, 75); SendDlgItemMessage(hwnd, IDC_FINGERPRINT, EM_SETREADONLY, 1, 0);