diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-13 21:08:02 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-13 21:08:02 +0000 |
commit | 6baf7cc80ea9cb47434833c387c09cacfd248571 (patch) | |
tree | 8514b64e320ec177cc682e7beb87182f36110d47 /lib/libgssapi/gss_add_cred.c | |
parent | 361c75321b30cb78c342c953b08f1e83817fcbf9 (diff) |
Notes
Diffstat (limited to 'lib/libgssapi/gss_add_cred.c')
-rw-r--r-- | lib/libgssapi/gss_add_cred.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libgssapi/gss_add_cred.c b/lib/libgssapi/gss_add_cred.c index 4dcca18a3251..34e29b1a2b71 100644 --- a/lib/libgssapi/gss_add_cred.c +++ b/lib/libgssapi/gss_add_cred.c @@ -121,7 +121,7 @@ gss_add_cred(OM_uint32 *minor_status, * gss_add_cred for that mechanism, otherwise we copy the mc * to new_cred. */ - target_mc = 0; + target_mc = NULL; if (cred) { SLIST_FOREACH(mc, &cred->gc_mc, gmc_link) { if (gss_oid_equal(mc->gmc_mech_oid, desired_mech)) { @@ -151,7 +151,7 @@ gss_add_cred(OM_uint32 *minor_status, return (major_status); } } else { - mn = 0; + mn = NULL; } m = _gss_find_mech_switch(desired_mech); |