diff options
author | 2001-01-19 15:55:10 +0000 | |
---|---|---|
committer | 2001-01-19 15:55:10 +0000 | |
commit | e810d18bdfa95d8f53b6d93b96ecc03eefc7550b (patch) | |
tree | 6a18b679fd9e18b99b22b7d8e1f905509c1b1351 /usr.bin/ssh/ssh-add.c | |
parent | Again, increase the size. (diff) | |
download | wireguard-openbsd-e810d18bdfa95d8f53b6d93b96ecc03eefc7550b.tar.xz wireguard-openbsd-e810d18bdfa95d8f53b6d93b96ecc03eefc7550b.zip |
move ssh1 definitions to ssh1.h, pathnames to pathnames.h
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index e947e6205ef..5c47856ea13 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.24 2001/01/13 18:14:13 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.25 2001/01/19 15:55:11 markus Exp $"); #include <openssl/evp.h> #include <openssl/rsa.h> @@ -47,6 +47,7 @@ RCSID("$OpenBSD: ssh-add.c,v 1.24 2001/01/13 18:14:13 markus Exp $"); #include "key.h" #include "authfd.h" #include "authfile.h" +#include "pathnames.h" void delete_file(AuthenticationConnection *ac, const char *filename) @@ -158,7 +159,7 @@ add_file(AuthenticationConnection *ac, const char *filename) if (getenv(SSH_ASKPASS_ENV)) askpass = getenv(SSH_ASKPASS_ENV); else - askpass = SSH_ASKPASS_DEFAULT; + askpass = _PATH_SSH_ASKPASS_DEFAULT; } /* At first, try empty passphrase */ @@ -280,7 +281,7 @@ main(int argc, char **argv) ssh_close_authentication_connection(ac); exit(1); } - snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, SSH_CLIENT_IDENTITY); + snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_IDENTITY); if (deleting) delete_file(ac, buf); else |