=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/monitor.c,v retrieving revision 1.223 retrieving revision 1.224 diff -u -r1.223 -r1.224 --- src/usr.bin/ssh/monitor.c 2021/01/27 10:05:28 1.223 +++ src/usr.bin/ssh/monitor.c 2021/03/03 22:41:49 1.224 @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.223 2021/01/27 10:05:28 djm Exp $ */ +/* $OpenBSD: monitor.c,v 1.224 2021/03/03 22:41:49 djm Exp $ */ /* * Copyright 2002 Niels Provos * Copyright 2002 Markus Friedl @@ -130,7 +130,7 @@ /* local state for key verify */ static u_char *key_blob = NULL; static size_t key_bloblen = 0; -static int key_blobtype = MM_NOKEY; +static u_int key_blobtype = MM_NOKEY; static struct sshauthopt *key_opts = NULL; static char *hostbased_cuser = NULL; static char *hostbased_chost = NULL; @@ -908,7 +908,7 @@ struct sshkey *key = NULL; char *cuser, *chost; u_int pubkey_auth_attempt; - enum mm_keytype type = 0; + u_int type = 0; int r, allowed = 0; struct sshauthopt *opts = NULL; @@ -957,7 +957,7 @@ cuser, chost); break; default: - fatal_f("unknown key type %d", type); + fatal_f("unknown key type %u", type); break; } }