diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-08-03 20:12:22 +0200 |
---|---|---|
committer | Tomáš Mráz <tmraz@redhat.com> | 2020-08-05 16:30:03 +0200 |
commit | b6edb24f87091104afd89cb53c6dd13be4ffeee1 (patch) | |
tree | 17a476abbb8cb2e314b6b10d98a9d1e29ea128bb /modules/pam_xauth/pam_xauth.c | |
parent | c7ca67d03cb8b21ceb56e925deb34a6c3337c23b (diff) | |
download | pam-b6edb24f87091104afd89cb53c6dd13be4ffeee1.tar.gz pam-b6edb24f87091104afd89cb53c6dd13be4ffeee1.tar.bz2 pam-b6edb24f87091104afd89cb53c6dd13be4ffeee1.zip |
pam_xauth: replace deprecated security_context_t
libselinux 3.1 deprecated the typedef security_context_t.
Use the underlaying type.
Diffstat (limited to 'modules/pam_xauth/pam_xauth.c')
-rw-r--r-- | modules/pam_xauth/pam_xauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_xauth/pam_xauth.c b/modules/pam_xauth/pam_xauth.c index ae731211..966b1b09 100644 --- a/modules/pam_xauth/pam_xauth.c +++ b/modules/pam_xauth/pam_xauth.c @@ -532,7 +532,7 @@ pam_sm_open_session (pam_handle_t *pamh, int flags UNUSED, xauth, "-f", cookiefile, "nlist", display, NULL) == 0) { #ifdef WITH_SELINUX - security_context_t context = NULL; + char *context = NULL; #endif PAM_MODUTIL_DEF_PRIVS(privs); |