diff options
author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2004-03-19 06:56:43 +0000 |
---|---|---|
committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2004-03-19 06:56:43 +0000 |
commit | fe94289786a7fe008c33e1530045c87b284c7413 (patch) | |
tree | a34c30b8c93a6fa2a7d7b5390723fddb256d1999 | |
parent | 89cb25dae921d67d8ee4d09ea3f06df1281cad39 (diff) | |
download | krb5-fe94289786a7fe008c33e1530045c87b284c7413.tar.gz krb5-fe94289786a7fe008c33e1530045c87b284c7413.tar.xz krb5-fe94289786a7fe008c33e1530045c87b284c7413.zip |
* cc_mslsa.c:
Add missing return statements in krb5_lcc_start_seq_get()
* cc-int.h:
New file - Add prototypes for cc internal functions
* cc_retr.c - include cc-int.h
ticket: new
target_version: 1.3.3
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16185 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/lib/krb5/ccache/ChangeLog | 10 | ||||
-rw-r--r-- | src/lib/krb5/ccache/cc-int.h | 39 | ||||
-rw-r--r-- | src/lib/krb5/ccache/cc_mslsa.c | 5 | ||||
-rw-r--r-- | src/lib/krb5/ccache/cc_retr.c | 1 |
4 files changed, 53 insertions, 2 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index c63bad19b4..eaff17736d 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,13 @@ +2004-03-18 Jeffrey Altman <jaltman@mit.edu> + + * cc_mslsa.c: + Add missing return statements in krb5_lcc_start_seq_get() + + * cc-int.h: + New file - Add prototypes for cc internal functions + + * cc_retr.c - include cc-int.h + 2004-03-05 Ken Raeburn <raeburn@mit.edu> * ccbase.c: Include k5-thread.h. diff --git a/src/lib/krb5/ccache/cc-int.h b/src/lib/krb5/ccache/cc-int.h new file mode 100644 index 0000000000..48ee4fb52a --- /dev/null +++ b/src/lib/krb5/ccache/cc-int.h @@ -0,0 +1,39 @@ +/* + * lib/krb5/ccache/file/cc-int.h + * + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and + * distribute this software and its documentation for any purpose and + * without fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright notice and + * this permission notice appear in supporting documentation, and that + * the name of M.I.T. not be used in advertising or publicity pertaining + * to distribution of the software without specific, written prior + * permission. Furthermore if you modify this software you must label + * your software as modified software and not distribute it in such a + * fashion that it might be confused with the original M.I.T. software. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" without express + * or implied warranty. + * + * + * This file contains constant and function declarations used in the + * file-based credential cache routines. + */ + +#ifndef __KRB5_CCACHE_H__ +#define __KRB5_CCACHE_H__ + +#include "k5-int.h" + +krb5_boolean +krb5int_cc_creds_match_request(krb5_context, krb5_flags whichfields, krb5_creds *mcreds, krb5_creds *creds); + +#endif /* __KRB5_CCACHE_H__ */ diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c index 29648b8b38..96558726d1 100644 --- a/src/lib/krb5/ccache/cc_mslsa.c +++ b/src/lib/krb5/ccache/cc_mslsa.c @@ -53,6 +53,7 @@ #include "k5-int.h" #include "com_err.h" +#include "cc-int.h" #include <stdio.h> #include <errno.h> @@ -1235,14 +1236,14 @@ krb5_lcc_start_seq_get(krb5_context context, krb5_ccache id, krb5_cc_cursor *cur if (!GetMSTGT(data->LogonHandle, data->PackageId, &lcursor->mstgt)) { free(lcursor); *cursor = 0; - KRB5_FCC_INTERNAL; + return KRB5_FCC_INTERNAL; } if ( !GetQueryTktCacheResponse(data->LogonHandle, data->PackageId, &lcursor->response) ) { LsaFreeReturnBuffer(lcursor->mstgt); free(lcursor); *cursor = 0; - KRB5_FCC_INTERNAL; + return KRB5_FCC_INTERNAL; } lcursor->index = 0; *cursor = (krb5_cc_cursor) lcursor; diff --git a/src/lib/krb5/ccache/cc_retr.c b/src/lib/krb5/ccache/cc_retr.c index 80d31640c0..5ddb2cc63d 100644 --- a/src/lib/krb5/ccache/cc_retr.c +++ b/src/lib/krb5/ccache/cc_retr.c @@ -27,6 +27,7 @@ */ #include "k5-int.h" +#include "cc-int.h" #define KRB5_OK 0 |