diff options
author | Aaron Bauman <bman@gentoo.org> | 2018-05-25 20:56:15 -0400 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2018-05-25 21:26:42 -0400 |
commit | 161287a6247d726419f811545d115a38ca46a13d (patch) | |
tree | 4a9479c7b0beb3c43e14e7369a9f0c99be45e810 /sys-auth/pam_ssh/files | |
parent | net-vpn/openvpn: Version bump to 2.4.6 (diff) | |
download | gentoo-161287a6247d726419f811545d115a38ca46a13d.tar.gz gentoo-161287a6247d726419f811545d115a38ca46a13d.tar.bz2 gentoo-161287a6247d726419f811545d115a38ca46a13d.zip |
sys-auth/pam_ssh: drop old EAPIs
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8590
Diffstat (limited to 'sys-auth/pam_ssh/files')
-rw-r--r-- | sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch | 11 | ||||
-rw-r--r-- | sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch | 20 |
2 files changed, 0 insertions, 31 deletions
diff --git a/sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch b/sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch deleted file mode 100644 index 80214a1df70c..000000000000 --- a/sys-auth/pam_ssh/files/pam_ssh-1.97-EOF.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- pam_ssh-1.92.orig/pam_get_pass.c 2004-02-19 19:59:05.000000000 +0100 -+++ pam_ssh-1.92/pam_get_pass.c 2009-04-18 13:51:10.000000000 +0200 -@@ -63,6 +63,8 @@ - retval = conv->conv(1, msgs, &resp, conv->appdata_ptr); - if (retval != PAM_SUCCESS) - return retval; -+ if (resp[0].resp == NULL) -+ return PAM_AUTHTOK_RECOVERY_ERR; - retval = pam_set_item(pamh, PAM_AUTHTOK, resp[0].resp); - if (retval != PAM_SUCCESS) - return retval; diff --git a/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch b/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch deleted file mode 100644 index 2f63ff8bdcb0..000000000000 --- a/sys-auth/pam_ssh/files/pam_ssh-1.97-doublefree.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- pam_ssh-1.97/pam_ssh.c.orig 2009-08-01 20:11:00.000000000 +0200 -+++ pam_ssh-1.97/pam_ssh.c 2009-08-01 20:11:16.000000000 +0200 -@@ -627,7 +627,7 @@ - * than the file creation time */ - if (retval = stat(per_agent, &stat_buf)) { - pam_ssh_log(LOG_ERR, "stat() failed on %s", per_agent); -- free(per_agent); -+ pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL); - fclose(env_read); - return retval; - } -@@ -646,7 +646,7 @@ - if (start_agent) { - if ((env_write = open(per_agent, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR)) < 0) { - pam_ssh_log(LOG_ERR, "can't write to %s", per_agent); -- free(per_agent); -+ pam_set_data(pamh, "ssh_agent_env_agent", NULL, NULL); - openpam_restore_cred(pamh); - return PAM_SERVICE_ERR; - } |