summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 9c118b228..64bf89bc0 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.96 2010/05/14 00:47:22 djm Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.100 2010/08/31 12:33:38 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
@@ -70,6 +70,9 @@ extern char *__progname;
70static char *default_files[] = { 70static char *default_files[] = {
71 _PATH_SSH_CLIENT_ID_RSA, 71 _PATH_SSH_CLIENT_ID_RSA,
72 _PATH_SSH_CLIENT_ID_DSA, 72 _PATH_SSH_CLIENT_ID_DSA,
73#ifdef OPENSSL_HAS_ECC
74 _PATH_SSH_CLIENT_ID_ECDSA,
75#endif
73 _PATH_SSH_CLIENT_IDENTITY, 76 _PATH_SSH_CLIENT_IDENTITY,
74 NULL 77 NULL
75}; 78};
@@ -380,7 +383,7 @@ main(int argc, char **argv)
380 init_rng(); 383 init_rng();
381 seed_rng(); 384 seed_rng();
382 385
383 SSLeay_add_all_algorithms(); 386 OpenSSL_add_all_algorithms();
384 387
385 /* At first, get a connection to the authentication agent. */ 388 /* At first, get a connection to the authentication agent. */
386 ac = ssh_get_authentication_connection(); 389 ac = ssh_get_authentication_connection();