diff options
| author | Nalin Dahyabhai <nalin@fedoraproject.org> | 2007-06-22 22:03:42 +0000 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin@fedoraproject.org> | 2007-06-22 22:03:42 +0000 |
| commit | 513d8d8504a77c5bf3d0752fae5becdca37cb07c (patch) | |
| tree | 7cab9cf22ce93bf6096ded0cd6bf86ebf7394d86 | |
| parent | 547fdc81dba6437fc0140be7bc7fac3fd43aecbe (diff) | |
- patch to make srvtab routines report missing-file errors at the same
point that the keytab routines do
| -rw-r--r-- | krb5-any-fixup-patch.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/krb5-any-fixup-patch.txt b/krb5-any-fixup-patch.txt new file mode 100644 index 0000000..fe16dc2 --- /dev/null +++ b/krb5-any-fixup-patch.txt @@ -0,0 +1,22 @@ +Index: kt_srvtab.c +=================================================================== +RCS file: /afs/dev.mit.edu/source/repository/third/krb5/src/lib/krb5/keytab/kt_srvtab.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -r1.1.1.1 -r1.2 +--- kt_srvtab.c 27 Feb 2004 04:00:00 -0000 1.1.1.1 ++++ kt_srvtab.c 27 Feb 2004 09:56:29 -0000 1.2 +@@ -117,13 +117,6 @@ + krb5_ktsrvtab_resolve(krb5_context context, const char *name, krb5_keytab *id) + { + krb5_ktsrvtab_data *data; +- FILE *fp; +- +- /* Make sure we can open the srvtab file for reading. */ +- fp = fopen(name, "r"); +- if (!fp) +- return(errno); +- fclose(fp); + + if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL) + return(ENOMEM); |
