summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keygen.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2003-11-23 23:18:45 +0000
committerdjm <djm@openbsd.org>2003-11-23 23:18:45 +0000
commit9d82e3f6cb898abccbdc1652dacf0cec570fb4ac (patch)
treeacad406be0c77698f47253ee7c1aff404a2c3442 /usr.bin/ssh/ssh-keygen.c
parentfrom portable - use sysconf to detect fd limit; ok markus@ (diff)
downloadwireguard-openbsd-9d82e3f6cb898abccbdc1652dacf0cec570fb4ac.tar.xz
wireguard-openbsd-9d82e3f6cb898abccbdc1652dacf0cec570fb4ac.zip
consistency PATH_MAX -> MAXPATHLEN; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-keygen.c')
-rw-r--r--usr.bin/ssh/ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index 3c3ade59339..be8ef77e971 100644
--- a/usr.bin/ssh/ssh-keygen.c
+++ b/usr.bin/ssh/ssh-keygen.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keygen.c,v 1.111 2003/11/21 11:57:03 djm Exp $");
+RCSID("$OpenBSD: ssh-keygen.c,v 1.112 2003/11/23 23:18:45 djm Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -785,7 +785,7 @@ int
main(int ac, char **av)
{
char dotsshdir[MAXPATHLEN], comment[1024], *passphrase1, *passphrase2;
- char out_file[PATH_MAX], *reader_id = NULL;
+ char out_file[MAXPATHLEN], *reader_id = NULL;
char *resource_record_hostname = NULL;
Key *private, *public;
struct passwd *pw;