summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-10-02 22:49:40 +1000
committerDamien Miller <djm@mindrot.org>2018-10-02 22:49:40 +1000
commitff3a411cae0b484274b7900ef52ff4dad3e12876 (patch)
tree84ab2118d139886eeb9368fdf4e99fc5b394ad5b
parentcd98925c6405e972dc9f211afc7e75e838abe81c (diff)
downloadopenssh-git-ff3a411cae0b484274b7900ef52ff4dad3e12876.tar.gz
only support SIGINFO on systems with SIGINFO
-rw-r--r--session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.c b/session.c
index 63adc68c..c5ca0556 100644
--- 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;
}