]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/port-linux.c
release new patch today
[gssapi-openssh.git] / openssh / openbsd-compat / port-linux.c
index 2e7970e691491afc10ba665536d9e5441b3436fd..5386d9dc79160e2db8ce8ac5ea4de271e591d72e 100644 (file)
@@ -36,7 +36,7 @@
 #include <selinux/get_context_list.h>
 
 /* Wrapper around is_selinux_enabled() to log its return value once only */
-int
+static int
 ssh_selinux_enabled(void)
 {
        static int enabled = -1;
@@ -79,7 +79,6 @@ ssh_selinux_getctxbyname(char *pwname)
                case 0:
                        error("%s: Failed to get default SELinux security "
                            "context for %s", __func__, pwname);
-                       break;
                default:
                        fatal("%s: Failed to get default SELinux security "
                            "context for %s (in enforcing mode)",
@@ -116,7 +115,6 @@ ssh_selinux_setup_exec_context(char *pwname)
                case 0:
                        error("%s: Failed to set SELinux execution "
                            "context for %s", __func__, pwname);
-                       break;
                default:
                        fatal("%s: Failed to set SELinux execution context "
                            "for %s (in enforcing mode)", __func__, pwname);
This page took 0.069251 seconds and 4 git commands to generate.