X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/71ed591e9e049cf1c64ec9ddc10e2158c2f76c89..d6214a563632bb2c0d92d1e31dfea02880d97600:/mac/mac.c diff --git a/mac/mac.c b/mac/mac.c index a0bfa3ea..f663deea 100644 --- a/mac/mac.c +++ b/mac/mac.c @@ -724,10 +724,10 @@ void verify_ssh_host_key(void *frontend, char *host, int port, char *keytype, if (ret == 2) { /* key was different */ ParamText(pappname, pkeytype, pfingerprint, NULL); alertret=CautionAlert(wWrong, NULL); - if (alertret == 9) { + if (alertret == 8) { /* Cancel */ goto cancel; - } else if (alertret == 8) { + } else if (alertret == 9) { /* Connect Just Once */ } else { /* Update Key */ @@ -737,10 +737,10 @@ void verify_ssh_host_key(void *frontend, char *host, int port, char *keytype, if (ret == 1) { /* key was absent */ ParamText(pkeytype, pfingerprint, pappname, NULL); alertret=CautionAlert(wAbsent, NULL); - if (alertret == 8) { + if (alertret == 7) { /* Cancel */ goto cancel; - } else if (alertret == 7) { + } else if (alertret == 8) { /* Connect Just Once */ } else { /* Update Key */