| |
@@ -1,5 +1,6 @@
|
| |
- diff --git a/session.c b/session.c
|
| |
- --- a/session.c
|
| |
+ Index: b/session.c
|
| |
+ ===================================================================
|
| |
+ --- b.orig/session.c
|
| |
+++ b/session.c
|
| |
@@ -98,6 +98,7 @@
|
| |
#include "atomicio.h"
|
| |
@@ -9,7 +10,7 @@
|
| |
|
| |
#if defined(KRB5) && defined(USE_AFS)
|
| |
#include <kafs.h>
|
| |
- @@ -990,11 +991,18 @@
|
| |
+ @@ -1054,11 +1055,18 @@ copy_environment(char **source, char ***
|
| |
static char **
|
| |
do_setup_env(struct ssh *ssh, Session *s, const char *shell)
|
| |
{
|
| |
@@ -29,7 +30,7 @@
|
| |
#if !defined (HAVE_LOGIN_CAP) && !defined (HAVE_CYGWIN)
|
| |
char *path = NULL;
|
| |
#endif
|
| |
- @@ -1188,9 +1196,57 @@
|
| |
+ @@ -1255,9 +1263,57 @@ do_setup_env(struct ssh *ssh, Session *s
|
| |
child_set_env(&env, &envsize, "SSH_USER_AUTH", auth_info_file);
|
| |
if (s->ttyfd != -1)
|
| |
child_set_env(&env, &envsize, "SSH_TTY", s->tty);
|
| |
@@ -88,8 +89,8 @@
|
| |
|
| |
if (debug_flag) {
|
| |
/* dump the environment */
|
| |
- diff --git a/regress/cert-princ-env.sh b/regress/cert-princ-env.sh
|
| |
- new file mode 100644
|
| |
+ Index: b/regress/cert-princ-env.sh
|
| |
+ ===================================================================
|
| |
--- /dev/null
|
| |
+++ b/regress/cert-princ-env.sh
|
| |
@@ -0,0 +1,129 @@
|
| |
Fix slog parsing bug. Also "refresh" patches using quilt to remove offset errors.