summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-09-30 05:11:29 +0000
committerderaadt <deraadt@openbsd.org>1999-09-30 05:11:29 +0000
commitc823ec8bf813e088ff7a86b2077f78565d26ea3d (patch)
tree01868a70418163fa0750febf91e0def8227b5aa3 /usr.bin/ssh/ssh.c
parentcull more ancient garbage from pre-POSIX days (diff)
downloadwireguard-openbsd-c823ec8bf813e088ff7a86b2077f78565d26ea3d.tar.xz
wireguard-openbsd-c823ec8bf813e088ff7a86b2077f78565d26ea3d.zip
do not bother with dinosaur pacification
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 0f0c7ce6d93..88c46757947 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -18,7 +18,7 @@ Modified to work with SSL by Niels Provos <provos@citi.umich.edu> in Canada.
*/
#include "includes.h"
-RCSID("$Id: ssh.c,v 1.15 1999/09/30 05:03:05 deraadt Exp $");
+RCSID("$Id: ssh.c,v 1.16 1999/09/30 05:11:29 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -205,13 +205,11 @@ main(int ac, char **av)
we may need to create the port several times). */
temporarily_use_uid(original_real_uid);
-#ifdef HAVE_UMASK
/* Set our umask to something reasonable, as some files are created with
the default umask. This will make them world-readable but writable
only by the owner, which is ok for all files for which we don't set
the modes explicitly. */
umask(022);
-#endif /* HAVE_UMASK */
/* Save our own name. */
av0 = av[0];