r18561@cathode-dark-space: jaltman | 2006-09-05 14:47:29 -0400
ticket: new
subject: windows ccache and keytab file paths without a prefix
ktbase.c, ccbase.c: When a file path is specified without
the prefix we must infer the use of the "FILE" prefix.
However, we were setting the prefix including the colon
separator when the separator should have been ignored.
ticket: 4237
version_fixed: 1.5.2
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18623
dc483132-0cff-0310-8789-
dd5450dbe970
pfxlen = cp - name;
if ( pfxlen == 1 && isalpha((unsigned char) name[0]) ) {
- /* We found a drive letter not a prefix - use FILE: */
- pfx = strdup("FILE:");
+ /* We found a drive letter not a prefix - use FILE */
+ pfx = strdup("FILE");
if (!pfx)
return ENOMEM;
pfxlen = cp - name;
if ( pfxlen == 1 && isalpha((unsigned char) name[0]) ) {
- /* We found a drive letter not a prefix - use FILE: */
- pfx = strdup("FILE:");
+ /* We found a drive letter not a prefix - use FILE */
+ pfx = strdup("FILE");
if (!pfx)
return ENOMEM;