libtirpc/libtirpc-0.1.7-svc_auth_gss_lvalue_fix.patch

14 lines
475 B
Diff

Index: libtirpc-0.1.7/src/svc_auth_gss.c
===================================================================
--- libtirpc-0.1.7.orig/src/svc_auth_gss.c
+++ libtirpc-0.1.7/src/svc_auth_gss.c
@@ -390,7 +390,7 @@ _svcauth_gss(struct svc_req *rqst, struc
return (AUTH_FAILED);
}
auth->svc_ah_ops = &svc_auth_gss_ops;
- SVCAUTH_PRIVATE(auth) = gd;
+ auth->svc_ah_private = gd;
rqst->rq_xprt->xp_auth = auth;
}
else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth);