X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/222d54dc209210b6e43589c798e35e21273b4082..a5dd84675905dfc4274cf45424e6f3a9e385e1a7:/puttygen.c diff --git a/puttygen.c b/puttygen.c index 3e43b052..ae7b9529 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 @@ -405,7 +404,7 @@ static void setupbigedit2(HWND hwnd, int id, int idstatic, strcpy(p, key->comment); SetDlgItemText(hwnd, id, buffer); SetDlgItemText(hwnd, idstatic, "&Public key for pasting into " - "OpenSSH authorized_keys2 file:"); + "OpenSSH authorized_keys file:"); sfree(pub_blob); sfree(buffer); } @@ -929,7 +928,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg, IDC_BITSSTATIC, IDC_BITS, 20); endbox(&cp); } - CheckRadioButton(hwnd, IDC_KEYSSH1, IDC_KEYSSH2DSA, IDC_KEYSSH1); + CheckRadioButton(hwnd, IDC_KEYSSH1, IDC_KEYSSH2DSA, IDC_KEYSSH2RSA); CheckMenuRadioItem(state->keymenu, IDC_KEYSSH1, IDC_KEYSSH2DSA, IDC_KEYSSH1, MF_BYCOMMAND); SetDlgItemInt(hwnd, IDC_BITS, DEFAULT_KEYSIZE, FALSE);