diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-12-29 21:21:26 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-12-29 21:21:26 +0000 |
commit | beac3b434110265fe46b798ed3be5cb01e4530ee (patch) | |
tree | 66023e1629078b0065b5376153c9a30f47504cbf | |
parent | 0a8397e00c3fde74555f4f02cc08a0b557312e12 (diff) |
- (bal) if no MAXHOSTNAMELEN is defined. Default to 64 character defination.
Suggested by Christian Kurz <shorty@debain.org>
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | defines.h | 4 |
2 files changed, 6 insertions, 0 deletions
@@ -4,6 +4,8 @@ [ssh-keygen.c] enable 'ssh-keygen -l -f ~/.ssh/{authorized_keys,known_hosts}{,2} - (bal) Resynced CVS ID with OpenBSD for channel.c and uidswap.c + - (bal) if no MAXHOSTNAMELEN is defined. Default to 64 character defination. + Suggested by Christian Kurz <shorty@debain.org> 20001229 - (bal) Fixed spelling of 'authorized_keys' in ssh-copy-id.1 by Christian @@ -78,6 +78,10 @@ enum # endif /* PATH_MAX */ #endif /* MAXPATHLEN */ +#ifndef MAXHOSTNAMELEN +# define MAXHOSTNAMELEN 64 +#endif /* MAXHOSTNAMELEN */ + #ifndef STDIN_FILENO # define STDIN_FILENO 0 #endif |