diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-05-29 11:49:44 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-06-01 08:11:35 -0400 |
commit | 12b546cf9d8735a2c7512d5cdf95f48dc89ae40c (patch) | |
tree | f63f83379e54b6bcc5483c44c606d73c16f65f5f /tirpc | |
parent | 21cc178c4d199b58fd22b618fed498ce71825087 (diff) | |
download | ti-rpc-12b546cf9d8735a2c7512d5cdf95f48dc89ae40c.tar.gz |
Remove requirement for gssapi/gssapi.h in svc_auth.h
When --disable-gssapi is specified and gssapi.h is not installed on
the build system, making libtirpc fails:
CC libtirpc_la-bindresvport.lo
In file included from ../tirpc/rpc/svc_auth.h:44:0,
from ../tirpc/rpc/rpc.h:68,
from bindresvport.c:46:
../tirpc/rpc/rpcsec_gss.h:38:27: fatal error: gssapi/gssapi.h:
No such file or directory
#include <gssapi/gssapi.h>
^
compilation terminated.
Commit d5259e751111 added "#include <rpc/rpcsec_gss.h>" to
<rpc/svc_auth.h> . That tries to include <gssapi/gssapi.h>, which
is missing in this case.
Remove the fields added in SVCAUTH that require including
<rpc/rpcsec_gss.h>. These are not part of the TI-RPC public API as
far as I can tell.
Then "#include <rpc/rpcsec_gss.h>" can be safely removed from
<rpc/svc_auth.h> .
Reported-by: Thorsten Kukuk <kukuk@suse.de>
Fixes: d5259e751111 ('Add header definitions for rpc_gss_*() APIs')
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tirpc')
-rw-r--r-- | tirpc/rpc/svc_auth.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tirpc/rpc/svc_auth.h b/tirpc/rpc/svc_auth.h index 44b38bf..67608d0 100644 --- a/tirpc/rpc/svc_auth.h +++ b/tirpc/rpc/svc_auth.h @@ -41,16 +41,6 @@ #ifndef _RPC_SVC_AUTH_H #define _RPC_SVC_AUTH_H -#include <rpc/rpcsec_gss.h> - -typedef struct { - bool_t established; - rpc_gss_service_t service; - u_int qop_rcvd; - void *context; - u_int seq_num; -} svc_rpc_gss_parms_t; - /* * Interface to server-side authentication flavors. */ @@ -63,8 +53,6 @@ typedef struct SVCAUTH { int (*svc_ah_destroy)(struct SVCAUTH *); } *svc_ah_ops; caddr_t svc_ah_private; - svc_rpc_gss_parms_t svc_gss_params; - rpc_gss_rawcred_t raw_cred; } SVCAUTH; #define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \ |