aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-05-20 13:09:04 +0800
committergreen <green@FreeBSD.org>2000-05-20 13:09:04 +0800
commit3aa347a9b0d24c1f4d06adca9b5f18352233fde9 (patch)
tree01257d612bb36339e973f8103ebd70ae3a14fc5b /security/openssh
parent11c3be52875f41e115420f51b2f0f2f9bd6b599e (diff)
downloadfreebsd-ports-gnome-3aa347a9b0d24c1f4d06adca9b5f18352233fde9.tar.gz
freebsd-ports-gnome-3aa347a9b0d24c1f4d06adca9b5f18352233fde9.tar.zst
freebsd-ports-gnome-3aa347a9b0d24c1f4d06adca9b5f18352233fde9.zip
Fix this for OpenSSL versions <= 0.9.4. It seems that the OpenSSH people
think that it's good to immediately switch to the newest API, despite the old API call being left deliberately compatible so that that wouldn't have to happen. OpenSSL_add_all_algorithms() is now, again, SSLeay_add_all_algorithms.
Diffstat (limited to 'security/openssh')
-rw-r--r--security/openssh/files/patch-ak11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/openssh/files/patch-ak b/security/openssh/files/patch-ak
index 33ac163f33de..3358914a71aa 100644
--- a/security/openssh/files/patch-ak
+++ b/security/openssh/files/patch-ak
@@ -1,5 +1,5 @@
--- ssh.c.orig Mon May 8 13:12:15 2000
-+++ ssh.c Sat May 13 15:17:33 2000
++++ ssh.c Sat May 20 01:02:44 2000
@@ -154,6 +154,9 @@
log("Using rsh. WARNING: Connection will not be encrypted.");
/* Build argument list for rsh. */
@@ -10,6 +10,15 @@
args[i++] = _PATH_RSH;
/* host may have to come after user on some systems */
args[i++] = host;
+@@ -422,7 +425,7 @@
+ if (!host)
+ usage();
+
+- OpenSSL_add_all_algorithms();
++ SSLeay_add_all_algorithms();
+
+ /* Initialize the command to execute on remote host. */
+ buffer_init(&command);
@@ -477,6 +480,11 @@
pwcopy.pw_gid = pw->pw_gid;
pwcopy.pw_dir = xstrdup(pw->pw_dir);