summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-09-10 11:12:09 +1000
committerDamien Miller <djm@mindrot.org>2010-09-10 11:12:09 +1000
commit4314c2b5489da5af3b70c440fcd2c44ddc4745a8 (patch)
treea17b3159d949af9e3739ec3828d349be97015070 /ssh-keysign.c
parent50e3bab2421e41cbce9093c5047298ed7ad730cb (diff)
- djm@cvs.openbsd.org 2010/08/31 12:33:38
[ssh-add.c ssh-agent.c ssh-keygen.c ssh-keysign.c ssh.c sshd.c] reintroduce commit from tedu@, which I pulled out for release engineering: OpenSSL_add_all_algorithms is the name of the function we have a man page for, so use that. ok djm
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index cf3bf1b9b..d05156005 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keysign.c,v 1.34 2010/08/16 04:06:06 djm Exp $ */ 1/* $OpenBSD: ssh-keysign.c,v 1.35 2010/08/31 12:33:38 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 SSLeay_add_all_algorithms(); 197 OpenSSL_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));