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: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18561
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;