]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
only support SIGINFO on systems with SIGINFO
authorDamien Miller <djm@mindrot.org>
Tue, 2 Oct 2018 12:49:40 +0000 (22:49 +1000)
committerDamien Miller <djm@mindrot.org>
Tue, 2 Oct 2018 12:49:40 +0000 (22:49 +1000)
session.c

index 63adc68c5a468604b7b89a912f3bea9756536892..c5ca0556ea13cd892c2f86c489cf55dd8a1d6fe9 100644 (file)
--- a/session.c
+++ b/session.c
@@ -2120,8 +2120,10 @@ name2sig(char *name)
        SSH_SIG(USR1);
        SSH_SIG(USR2);
 #undef SSH_SIG
+#ifdef SIGINFO
        if (strcmp(name, "INFO@openssh.com") == 0)
                return SIGINFO;
+#endif
        return -1;
 }