diff options
Diffstat (limited to 'src/lib/gssapi/mechglue/g_del_name_attr.c')
-rw-r--r-- | src/lib/gssapi/mechglue/g_del_name_attr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/gssapi/mechglue/g_del_name_attr.c b/src/lib/gssapi/mechglue/g_del_name_attr.c index b72ee3b..a12ac8b 100644 --- a/src/lib/gssapi/mechglue/g_del_name_attr.c +++ b/src/lib/gssapi/mechglue/g_del_name_attr.c @@ -49,6 +49,9 @@ gss_delete_name_attribute(OM_uint32 *minor_status, union_name = (gss_union_name_t)name; + if (union_name->attributes != NULL) + return GSS_S_UNAVAILABLE; + if (union_name->mech_type == GSS_C_NO_OID) return GSS_S_UNAVAILABLE; |