knownhosts: Ignore OpenSSH markers related to certificates
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
7cc159d720
Коммит
8152c6aba4
@ -233,6 +233,12 @@ static int ssh_known_hosts_read_entries(const char *match,
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Skip lines starting with markers (@cert-authority, @revoked):
|
||||
* we do not completely support them anyway */
|
||||
if (p[0] == '@') {
|
||||
continue;
|
||||
}
|
||||
|
||||
rc = ssh_known_hosts_parse_line(match,
|
||||
line,
|
||||
&entry);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user