summaryrefslogtreecommitdiff
path: root/security/hpn-ssh
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-03-30 05:18:23 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-03-30 05:18:23 +0000
commit24b7840a217cd8d9c34245796905f8e21598d74d (patch)
tree7fc6c0d5fd49cf534679c284f93ea3709f1993ba /security/hpn-ssh
parent- Changes so it should run on Alpha (diff)
- Fix build for 5.0-CURRENT
Diffstat (limited to 'security/hpn-ssh')
-rw-r--r--security/hpn-ssh/files/patch-readpassphrase.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/security/hpn-ssh/files/patch-readpassphrase.c b/security/hpn-ssh/files/patch-readpassphrase.c
new file mode 100644
index 000000000000..28bae4877919
--- /dev/null
+++ b/security/hpn-ssh/files/patch-readpassphrase.c
@@ -0,0 +1,25 @@
+--- openbsd-compat/readpassphrase.c.orig Sat Mar 30 06:08:34 2002
++++ openbsd-compat/readpassphrase.c Sat Mar 30 06:09:33 2002
+@@ -165,6 +165,13 @@
+ errno = save_errno;
+ return(nr == -1 ? NULL : buf);
+ }
++
++static void handler(int s)
++{
++
++ signo = s;
++}
++
+ #endif /* HAVE_READPASSPHRASE */
+
+ #if 0
+@@ -177,8 +184,3 @@
+ }
+ #endif
+
+-static void handler(int s)
+-{
+-
+- signo = s;
+-}