SHA256
1
0
forked from pool/libtirpc
libtirpc/003-fix-gssapi.patch
Marcus Meissner 7ef180a926 Accepting request 306489 from home:kukuk:NIS
- 003-fix-gssapi.patch: Correct fix for GSS ABI breakage
- 006-rework-features.diff: Rework tirpc-features.h

- 003-fix-gssapi.patch: Update, one chunk did go lost

OBS-URL: https://build.opensuse.org/request/show/306489
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtirpc?expand=0&rev=45
2015-05-18 15:45:32 +00:00

32 lines
845 B
Diff

--- src/svc_auth_gss.c
+++ src/svc_auth_gss.c 2015/05/12 08:58:54
@@ -919,13 +919,8 @@
auth = rqst->rq_xprt->xp_auth;
gd = SVCAUTH_PRIVATE(auth);
- if (rcred != NULL) {
- auth->raw_cred = gd->rcred;
- auth->raw_cred.service = _rpc_gss_svc_to_service(gd->sec.svc);
- (void)rpc_gss_num_to_qop(auth->raw_cred.mechanism, gd->sec.qop,
- &auth->raw_cred.qop);
- *rcred = &auth->raw_cred;
- }
+ if (rcred != NULL)
+ *rcred = &gd->rcred;
if (ucred != NULL) {
_rpc_gss_fill_in_ucreds(gd);
--- tirpc/rpc/svc_auth.h
+++ tirpc/rpc/svc_auth.h 2015/05/12 08:59:06
@@ -69,10 +69,6 @@
int (*svc_ah_destroy)(struct SVCAUTH *);
} *svc_ah_ops;
caddr_t svc_ah_private;
-#ifdef HAVE_GSSAPI
- svc_rpc_gss_parms_t svc_gss_params;
- rpc_gss_rawcred_t raw_cred;
-#endif
} SVCAUTH;
#define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \