aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-11-09 08:38:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-11-09 08:38:51 +0800
commit4e96a9415be10f8184d8b3b2e47f879f78faeac7 (patch)
tree7ae849686d99f573a0a1057cd672389e791dabe9 /camel/camel-tcp-stream-ssl.c
parentbb3c3db704d2fa151db65946ae2cdb6c254b99cb (diff)
downloadgsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.tar.gz
gsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.tar.zst
gsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.zip
Oops, pass a mode argument to the open() call.
2001-11-07 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (save_ssl_cert): Oops, pass a mode argument to the open() call. * camel-tcp-stream-openssl.c (save_ssl_cert): Oops, pass a mode argument to the open() call. svn path=/trunk/; revision=14636
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r--camel/camel-tcp-stream-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 9adf49837a..167d94b8b7 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -363,7 +363,7 @@ save_ssl_cert (const char *certid)
filename = g_strdup_printf ("%s/%s", path, certid);
g_free (path);
- fd = open (filename, O_WRONLY | O_CREAT);
+ fd = open (filename, O_WRONLY | O_CREAT, 0600);
if (fd != -1)
close (fd);