diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2008-10-19 10:44:56 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2008-10-19 10:44:56 +0000 |
| commit | ab2619572165ee5badefa51e25d41604a4caac21 (patch) | |
| tree | 284b96ea1226f938c5a680bed134f6d0164c8af2 /src/ccapi/lib/ccapi_string.c | |
| parent | 451a8448222f86f3a320548b80074b8bcc082e52 (diff) | |
| download | krb5-ab2619572165ee5badefa51e25d41604a4caac21.tar.gz krb5-ab2619572165ee5badefa51e25d41604a4caac21.tar.xz krb5-ab2619572165ee5badefa51e25d41604a4caac21.zip | |
In krb5_def_store_mkey(), mktemp was being invoked with a string WRFILE:....
This returns an error - as it actually tries to open the file.
Move some of the logic that points to the actual filename earlier - so
mktemp works on the .... portion.
Note that the netbsd linker gives a warning on using mktemp as it may be
insecure - but there is no obvious way to avoid it.
ticket: new
subhect: netbsd mktemp actually tries to open file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20896 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/lib/ccapi_string.c')
0 files changed, 0 insertions, 0 deletions
