=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh.c,v retrieving revision 1.585 retrieving revision 1.586 diff -u -r1.585 -r1.586 --- src/usr.bin/ssh/ssh.c 2023/02/10 04:40:28 1.585 +++ src/usr.bin/ssh/ssh.c 2023/03/27 03:56:11 1.586 @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.585 2023/02/10 04:40:28 djm Exp $ */ +/* $OpenBSD: ssh.c,v 1.586 2023/03/27 03:56:11 dtucker Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1398,6 +1398,14 @@ free(p); free(options.identity_agent); options.identity_agent = cp; + } + + if (options.revoked_host_keys != NULL) { + p = tilde_expand_filename(options.revoked_host_keys, getuid()); + cp = default_client_percent_dollar_expand(p, cinfo); + free(p); + free(options.revoked_host_keys); + options.revoked_host_keys = cp; } if (options.forward_agent_sock_path != NULL) {