(fcc_initialize): just forget about over-writing the old cred cache.

it's too much of a hazzle trying to do this safely.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8199 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-04-25 21:49:20 +00:00
parent 2042f25140
commit d00fd58d9c

View File

@@ -170,8 +170,7 @@ fcc_initialize(krb5_context context,
int fd; int fd;
char *filename = f->filename; char *filename = f->filename;
if((ret = erase_file(filename))) unlink (filename);
return ret;
fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
if(fd == -1) if(fd == -1)