Remove unused groups variable from get_ids() which was causing a compiler warning.
[nfs-utils.git] / utils / gssd / svcgssd_proc.c
index b43a023..ad45753 100644 (file)
@@ -193,7 +193,6 @@ get_ids(gss_name_t client_name, gss_OID mech, struct svc_cred *cred)
        uid_t           uid, gid;
        gss_OID         name_type = GSS_C_NO_OID;
        char            *secname;
-       gid_t           *groups;
 
        maj_stat = gss_display_name(&min_stat, client_name, &name, &name_type);
        if (maj_stat != GSS_S_COMPLETE) {
@@ -365,7 +364,7 @@ handle_nullreq(FILE *f) {
 
        /* kernel needs ctx to calculate verifier on null response, so
         * must give it context before doing null call: */
-       if (serialize_context_for_kernel(ctx, &ctx_token)) {
+       if (serialize_context_for_kernel(ctx, &ctx_token, mech)) {
                printerr(0, "WARNING: handle_nullreq: "
                            "serialize_context_for_kernel failed\n");
                maj_stat = GSS_S_FAILURE;