summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-08-31 22:32:12 +1000
committerDamien Miller <djm@mindrot.org>2010-08-31 22:32:12 +1000
commitd96546f5b0f7c57395a338dbb9ac3ac5a48b77fa (patch)
tree98d33e8288d8918c5b52a5d62231a10cd8a218ac
parent9b87e795387f748a21cd4d6c26ae57e800c36b54 (diff)
- djm@cvs.openbsd.org 2010/08/16 04:06:06
[ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c] backout previous temporarily; discussed with deraadt@
-rw-r--r--ChangeLog3
-rw-r--r--ssh-add.c4
-rw-r--r--ssh-agent.c4
-rw-r--r--ssh-keygen.c4
-rw-r--r--ssh-keysign.c4
-rw-r--r--ssh.c4
-rw-r--r--sshd.c4
7 files changed, 15 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index f18c8de92..a56f04349 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,9 @@
8 [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c] 8 [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
9 OpenSSL_add_all_algorithms is the name of the function we have a man page 9 OpenSSL_add_all_algorithms is the name of the function we have a man page
10 for, so use that. ok djm 10 for, so use that. ok djm
11 - djm@cvs.openbsd.org 2010/08/16 04:06:06
12 [ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c]
13 backout previous temporarily; discussed with deraadt@
11 14
1220100827 1520100827
13 - (dtucker) [contrib/redhat/sshd.init] Bug #1810: initlog is deprecated, 16 - (dtucker) [contrib/redhat/sshd.init] Bug #1810: initlog is deprecated,
diff --git a/ssh-add.c b/ssh-add.c
index e3e89d34c..7f8fb2c6d 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.97 2010/08/12 23:34:38 tedu Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.98 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -372,7 +372,7 @@ main(int argc, char **argv)
372 init_rng(); 372 init_rng();
373 seed_rng(); 373 seed_rng();
374 374
375 OpenSSL_add_all_algorithms(); 375 SSLeay_add_all_algorithms();
376 376
377 /* At first, get a connection to the authentication agent. */ 377 /* At first, get a connection to the authentication agent. */
378 ac = ssh_get_authentication_connection(); 378 ac = ssh_get_authentication_connection();
diff --git a/ssh-agent.c b/ssh-agent.c
index d5690e0c5..e6725ea88 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.167 2010/08/12 23:34:38 tedu Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.168 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1092,7 +1092,7 @@ main(int ac, char **av)
1092 prctl(PR_SET_DUMPABLE, 0); 1092 prctl(PR_SET_DUMPABLE, 0);
1093#endif 1093#endif
1094 1094
1095 OpenSSL_add_all_algorithms(); 1095 SSLeay_add_all_algorithms();
1096 1096
1097 __progname = ssh_get_progname(av[0]); 1097 __progname = ssh_get_progname(av[0]);
1098 init_rng(); 1098 init_rng();
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 37670ba67..93f598004 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.198 2010/08/12 23:34:38 tedu Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.199 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1781,7 +1781,7 @@ main(int argc, char **argv)
1781 1781
1782 __progname = ssh_get_progname(argv[0]); 1782 __progname = ssh_get_progname(argv[0]);
1783 1783
1784 OpenSSL_add_all_algorithms(); 1784 SSLeay_add_all_algorithms();
1785 log_init(argv[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); 1785 log_init(argv[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1);
1786 1786
1787 init_rng(); 1787 init_rng();
diff --git a/ssh-keysign.c b/ssh-keysign.c
index eddbcf707..cf3bf1b9b 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keysign.c,v 1.33 2010/08/12 23:34:39 tedu Exp $ */ 1/* $OpenBSD: ssh-keysign.c,v 1.34 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002 Markus Friedl. All rights reserved. 3 * Copyright (c) 2002 Markus Friedl. All rights reserved.
4 * 4 *
@@ -194,7 +194,7 @@ main(int argc, char **argv)
194 if (key_fd[0] == -1 && key_fd[1] == -1) 194 if (key_fd[0] == -1 && key_fd[1] == -1)
195 fatal("could not open any host key"); 195 fatal("could not open any host key");
196 196
197 OpenSSL_add_all_algorithms(); 197 SSLeay_add_all_algorithms();
198 for (i = 0; i < 256; i++) 198 for (i = 0; i < 256; i++)
199 rnd[i] = arc4random(); 199 rnd[i] = arc4random();
200 RAND_seed(rnd, sizeof(rnd)); 200 RAND_seed(rnd, sizeof(rnd));
diff --git a/ssh.c b/ssh.c
index 34215a00d..44b570bf9 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.347 2010/08/12 23:34:39 tedu Exp $ */ 1/* $OpenBSD: ssh.c,v 1.348 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -599,7 +599,7 @@ main(int ac, char **av)
599 if (!host) 599 if (!host)
600 usage(); 600 usage();
601 601
602 OpenSSL_add_all_algorithms(); 602 SSLeay_add_all_algorithms();
603 ERR_load_crypto_strings(); 603 ERR_load_crypto_strings();
604 604
605 /* Initialize the command to execute on remote host. */ 605 /* Initialize the command to execute on remote host. */
diff --git a/sshd.c b/sshd.c
index e61c0b9d6..52a3789bb 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.376 2010/08/12 23:34:39 tedu Exp $ */ 1/* $OpenBSD: sshd.c,v 1.377 2010/08/16 04:06:06 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1464,7 +1464,7 @@ main(int ac, char **av)
1464 else 1464 else
1465 closefrom(REEXEC_DEVCRYPTO_RESERVED_FD); 1465 closefrom(REEXEC_DEVCRYPTO_RESERVED_FD);
1466 1466
1467 OpenSSL_add_all_algorithms(); 1467 SSLeay_add_all_algorithms();
1468 1468
1469 /* 1469 /*
1470 * Force logging to stderr until we have loaded the private host 1470 * Force logging to stderr until we have loaded the private host