diff options
Diffstat (limited to 'src/lib/krb5')
-rw-r--r-- | src/lib/krb5/ccache/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/krb5/ccache/t_cc.c | 4 | ||||
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/conv_princ.c | 2 |
4 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 59a1952596..dbf0a8b5b7 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,9 @@ +2004-08-27 Ken Raeburn <raeburn@mit.edu> + + * t_cc.c (init_test_cred): Terminate argument list to + krb5_build_principal with NULL, not 0. Patch from Nalin + Dahyabhai. + 2004-08-15 Ken Raeburn <raeburn@mit.edu> * cc_file.c (struct _krb5_fcc_data): Add new mutex diff --git a/src/lib/krb5/ccache/t_cc.c b/src/lib/krb5/ccache/t_cc.c index 0e7ae84d69..6559fb2bdc 100644 --- a/src/lib/krb5/ccache/t_cc.c +++ b/src/lib/krb5/ccache/t_cc.c @@ -84,10 +84,10 @@ static void init_test_cred(krb5_context context) { #define REALM "REALM" krb5_build_principal(context, &test_creds.client, sizeof(REALM), REALM, - "client-comp1", "client-comp2", 0); + "client-comp1", "client-comp2", NULL); krb5_build_principal(context, &test_creds.server, sizeof(REALM), REALM, - "server-comp1", "server-comp2", 0); + "server-comp1", "server-comp2", NULL); } static void free_test_cred(krb5_context context) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 1e284cce0d..84092f11ee 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +2004-08-27 Ken Raeburn <raeburn@mit.edu> + + * conv_princ.c (krb5_425_conv_principal): Terminate argument list + to krb5_build_principal with NULL, not 0. Patch from Nalin + Dahyabhai. + 2004-08-12 Alexandra Ellwood <lxs@mit.edu> * get_in_tkt.c (get_init_creds): diff --git a/src/lib/krb5/krb/conv_princ.c b/src/lib/krb5/krb/conv_princ.c index 6134baa0a2..885dc995ad 100644 --- a/src/lib/krb5/krb/conv_princ.c +++ b/src/lib/krb5/krb/conv_princ.c @@ -342,7 +342,7 @@ krb5_425_conv_principal(krb5_context context, const char *name, const char *inst not_service: retval = krb5_build_principal(context, princ, strlen(realm), realm, name, - instance, 0); + instance, NULL); if (iterator) profile_iterator_free (&iterator); if (full_name) profile_free_list(full_name); if (v4realms) profile_free_list(v4realms); |