summaryrefslogtreecommitdiff
path: root/src/psk.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-05-20 00:39:33 +0200
committerSimon Josefsson <simon@josefsson.org>2008-05-20 00:39:33 +0200
commit10f580d2ee1440695138b52f65e89e70ebf1830e (patch)
treea6cee8aa973496fd1e036071c96b3ed8d22ae8c0 /src/psk.c
parent2b2904a89859a275dd92089fd6cb7b6b949eecb4 (diff)
downloadgnutls-10f580d2ee1440695138b52f65e89e70ebf1830e.tar.gz
Use umask unconditionally.
Diffstat (limited to 'src/psk.c')
-rw-r--r--src/psk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/psk.c b/src/psk.c
index 1602e6e146..f5db967f50 100644
--- a/src/psk.c
+++ b/src/psk.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2005, 2007 Free Software Foundation
+ * Copyright (C) 2005, 2007, 2008 Free Software Foundation
*
* This file is part of GNUTLS.
*
@@ -93,9 +93,7 @@ main (int argc, char **argv)
exit (1);
}
-#ifdef HAVE_UMASK
umask (066);
-#endif
if (gaa (argc, argv, &info) != -1)
{