resolve warnings in port_linux.c
This commit is contained in:
parent
11896aa047
commit
8a77a1dfd5
@ -191,7 +191,7 @@ diff -up openssh-5.8p1/openbsd-compat/port-linux.c.mls openssh-5.8p1/openbsd-com
|
||||
static void
|
||||
ssh_selinux_get_role_level(char **role, const char **level)
|
||||
{
|
||||
@@ -65,14 +216,16 @@ ssh_selinux_get_role_level(char **role,
|
||||
@@ -65,14 +216,15 @@ ssh_selinux_get_role_level(char **role,
|
||||
}
|
||||
|
||||
/* Return the default security context for the given username */
|
||||
@ -201,12 +201,12 @@ diff -up openssh-5.8p1/openbsd-compat/port-linux.c.mls openssh-5.8p1/openbsd-com
|
||||
+ssh_selinux_getctxbyname(char *pwname,
|
||||
+ security_context_t *default_sc, security_context_t *user_sc)
|
||||
{
|
||||
security_context_t sc = NULL;
|
||||
- security_context_t sc = NULL;
|
||||
char *sename, *lvl;
|
||||
char *role;
|
||||
const char *reqlvl;
|
||||
int r = 0;
|
||||
+ context_t con;
|
||||
+ context_t con = NULL;
|
||||
|
||||
ssh_selinux_get_role_level(&role, &reqlvl);
|
||||
#ifdef HAVE_GETSEUSERBYNAME
|
||||
|
@ -71,7 +71,7 @@
|
||||
|
||||
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
||||
%define openssh_ver 5.8p1
|
||||
%define openssh_rel 23
|
||||
%define openssh_rel 24
|
||||
%define pam_ssh_agent_ver 0.9.2
|
||||
%define pam_ssh_agent_rel 30
|
||||
|
||||
@ -672,6 +672,9 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Mar 31 2011 Jan F. Chadima <jchadima@redhat.com> - 5.8p1-24 + 0.9.2-30
|
||||
- resolve warnings in port_linux.c
|
||||
|
||||
* Tue Mar 29 2011 Jan F. Chadima <jchadima@redhat.com> - 5.8p1-23 + 0.9.2-30
|
||||
- add /etc/sysconfig/sshd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user