=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth2-pubkey.c,v retrieving revision 1.117 retrieving revision 1.118 diff -u -r1.117 -r1.118 --- src/usr.bin/ssh/auth2-pubkey.c 2022/09/17 10:34:29 1.117 +++ src/usr.bin/ssh/auth2-pubkey.c 2023/02/17 04:22:50 1.118 @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-pubkey.c,v 1.117 2022/09/17 10:34:29 djm Exp $ */ +/* $OpenBSD: auth2-pubkey.c,v 1.118 2023/02/17 04:22:50 dtucker Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2010 Damien Miller. All rights reserved. @@ -148,12 +148,6 @@ if (key->type != pktype) { error_f("type mismatch for decoded key " "(received %d, expected %d)", key->type, pktype); - goto done; - } - if (sshkey_type_plain(key->type) == KEY_RSA && - (ssh->compat & SSH_BUG_RSASIGMD5) != 0) { - logit("Refusing RSA key because client uses unsafe " - "signature scheme"); goto done; } if (auth2_key_already_used(authctxt, key)) {