From 1df0cf465760e7db3a58711432e5273042fb7b29 Mon Sep 17 00:00:00 2001 From: "Jan F. Chadima" Date: Mon, 12 Sep 2011 20:44:35 +0200 Subject: [PATCH] repair signedness in akc patch --- openssh-5.9p1-akc.patch | 2 +- openssh.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/openssh-5.9p1-akc.patch b/openssh-5.9p1-akc.patch index 3737981..b9fec72 100644 --- a/openssh-5.9p1-akc.patch +++ b/openssh-5.9p1-akc.patch @@ -92,7 +92,7 @@ diff -up openssh-5.9p1/auth2-pubkey.c.akc openssh-5.9p1/auth2-pubkey.c + pid_t pstat, pid, child; + + if (options.authorized_keys_command == NULL || options.authorized_keys_command[0] != '/') -+ return -1; ++ return 0; + + /* get the run as identity from config */ + runas_pw = (options.authorized_keys_command_runas == NULL)? pw diff --git a/openssh.spec b/openssh.spec index bbadcb0..70998a4 100644 --- a/openssh.spec +++ b/openssh.spec @@ -79,7 +79,7 @@ # Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1 %define openssh_ver 5.9p1 -%define openssh_rel 5 +%define openssh_rel 6 %define pam_ssh_agent_ver 0.9.2 %define pam_ssh_agent_rel 32 @@ -786,6 +786,9 @@ fi %endif %changelog +* Mon Sep 12 2011 Jan F. Chadima - 5.9p1-6 + 0.9.2-32 +- repair signedness in akc patch + * Mon Sep 12 2011 Jan F. Chadima - 5.9p1-5 + 0.9.2-32 - temporarily disable part of audit4 patch