diff options
-rw-r--r-- | proxy/rpcgen/gss_proxy.h | 4 | ||||
-rw-r--r-- | proxy/rpcgen/gss_proxy_xdr.c | 4 | ||||
-rw-r--r-- | x-files/gss_proxy.x | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/proxy/rpcgen/gss_proxy.h b/proxy/rpcgen/gss_proxy.h index 2612ca5..2b54858 100644 --- a/proxy/rpcgen/gss_proxy.h +++ b/proxy/rpcgen/gss_proxy.h @@ -156,8 +156,8 @@ struct gssx_cred { typedef struct gssx_cred gssx_cred; struct gssx_ctx { - gssx_buffer *exported_context_token; - octet_string *state; + gssx_buffer exported_context_token; + octet_string state; bool_t needs_release; gssx_OID mech; gssx_name src_name; diff --git a/proxy/rpcgen/gss_proxy_xdr.c b/proxy/rpcgen/gss_proxy_xdr.c index c767ae2..25d9168 100644 --- a/proxy/rpcgen/gss_proxy_xdr.c +++ b/proxy/rpcgen/gss_proxy_xdr.c @@ -236,9 +236,9 @@ xdr_gssx_cred (XDR *xdrs, gssx_cred *objp) bool_t xdr_gssx_ctx (XDR *xdrs, gssx_ctx *objp) { - if (!xdr_pointer (xdrs, (char **)&objp->exported_context_token, sizeof (gssx_buffer), (xdrproc_t) xdr_gssx_buffer)) + if (!xdr_gssx_buffer (xdrs, &objp->exported_context_token)) return FALSE; - if (!xdr_pointer (xdrs, (char **)&objp->state, sizeof (octet_string), (xdrproc_t) xdr_octet_string)) + if (!xdr_octet_string (xdrs, &objp->state)) return FALSE; if (!xdr_bool (xdrs, &objp->needs_release)) return FALSE; diff --git a/x-files/gss_proxy.x b/x-files/gss_proxy.x index 9b07a10..d40201c 100644 --- a/x-files/gss_proxy.x +++ b/x-files/gss_proxy.x @@ -299,8 +299,8 @@ struct gssx_cred { */ struct gssx_ctx { /* The exported context token, if available */ - gssx_buffer *exported_context_token; - octet_string *state; + gssx_buffer exported_context_token; + octet_string state; /* * Stateful servers MUST be able to clean up unreferenced state * automatically, using an LRU/LFU type cache. However, stateful |