]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: ssh-keyscan doesn't need it's own sshfatal() definition, it
authordjm@openbsd.org <djm@openbsd.org>
Fri, 18 Oct 2024 05:32:51 +0000 (05:32 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 18 Oct 2024 05:33:29 +0000 (16:33 +1100)
can use the shared one from fatal.c

based on GHPR401 from lengyijun

OpenBSD-Commit-ID: 8ea75ea99f27f464c9223cbc89cb046ccf9cd5c4

ssh-keyscan.c

index 941fa512254f170726d432319c9f8f3a545cd51a..2a9f47a8d5f10f6d136340c2ccfd1a8673d8a9c7 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.163 2024/10/18 04:14:59 djm Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.164 2024/10/18 05:32:51 djm Exp $ */
 /*
  * Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
  *
@@ -654,18 +654,6 @@ do_host(char *host)
        }
 }
 
-void
-sshfatal(const char *file, const char *func, int line, int showfunc,
-    LogLevel level, const char *suffix, const char *fmt, ...)
-{
-       va_list args;
-
-       va_start(args, fmt);
-       sshlogv(file, func, line, showfunc, level, suffix, fmt, args);
-       va_end(args);
-       cleanup_exit(255);
-}
-
 static void
 usage(void)
 {