diff options
-rw-r--r-- | security/hpn-ssh/files/patch-readpassphrase.c | 25 | ||||
-rw-r--r-- | security/openssh-portable/files/patch-readpassphrase.c | 25 |
2 files changed, 50 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; +-} diff --git a/security/openssh-portable/files/patch-readpassphrase.c b/security/openssh-portable/files/patch-readpassphrase.c new file mode 100644 index 000000000000..28bae4877919 --- /dev/null +++ b/security/openssh-portable/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; +-} |