diff options
author | mouring <mouring> | 2000-12-29 21:21:26 +0000 |
---|---|---|
committer | mouring <mouring> | 2000-12-29 21:21:26 +0000 |
commit | 89a2ce0fa13d4325677646931a8146be7df70c8d (patch) | |
tree | bd9ad951b11dfd30c3c74f6dbb545cb75544ba84 | |
parent | a90c129ff515908d963d90042458236e2b377f76 (diff) | |
download | openssh-89a2ce0fa13d4325677646931a8146be7df70c8d.tar.gz |
- (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 |