summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2001-01-20 17:34:25 +0000
committermarkus <markus@openbsd.org>2001-01-20 17:34:25 +0000
commit0c3100d907172ee9e9080800c12e2aed93f9c908 (patch)
tree60987fd8bc2cface4f977616ac216d7b000caa1e /usr.bin/ssh
parentpass the filename to auth_parse_options() (diff)
downloadwireguard-openbsd-0c3100d907172ee9e9080800c12e2aed93f9c908.tar.xz
wireguard-openbsd-0c3100d907172ee9e9080800c12e2aed93f9c908.zip
typo
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/auth-rsa.c4
-rw-r--r--usr.bin/ssh/auth2.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth-rsa.c b/usr.bin/ssh/auth-rsa.c
index 5037b796e3d..dc39995a7b3 100644
--- a/usr.bin/ssh/auth-rsa.c
+++ b/usr.bin/ssh/auth-rsa.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-rsa.c,v 1.36 2001/01/20 15:55:20 markus Exp $");
+RCSID("$OpenBSD: auth-rsa.c,v 1.37 2001/01/20 17:34:25 markus Exp $");
#include "rsa.h"
#include "packet.h"
@@ -122,7 +122,7 @@ auth_rsa_challenge_dialog(RSA *pk)
int
auth_rsa(struct passwd *pw, BIGNUM *client_n)
{
- char line[8192], file[MAXPATHNAME];
+ char line[8192], file[MAXPATHLEN];
int authenticated;
u_int bits;
FILE *f;
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index a31fee485d0..52cee38f9b6 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.30 2001/01/20 15:55:20 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.31 2001/01/20 17:34:25 markus Exp $");
#include <openssl/dsa.h>
#include <openssl/rsa.h>
@@ -515,7 +515,7 @@ authmethod_lookup(const char *name)
int
user_key_allowed(struct passwd *pw, Key *key)
{
- char line[8192], file[MAXPATHNAME];
+ char line[8192], file[MAXPATHLEN];
int found_key = 0;
FILE *f;
u_long linenum = 0;