From 4887da222b5dec4e36f85f724d836dfbb6d434c7 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 6 Jun 2002 20:05:57 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2002/05/25 08:50:39 [sshconnect2.c] execlp->execl; from stevesk --- ChangeLog | 5 ++++- sshconnect2.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e1c95a58..f43d19219 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,9 @@ [sshconnect2.c] stat ssh-keysign first, print error if stat fails; some debug->error; fix comment + - markus@cvs.openbsd.org 2002/05/25 08:50:39 + [sshconnect2.c] + execlp->execl; from stevesk 20020604 - (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed @@ -712,4 +715,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2151 2002/06/06 19:59:29 mouring Exp $ +$Id: ChangeLog,v 1.2152 2002/06/06 20:05:57 mouring Exp $ diff --git a/sshconnect2.c b/sshconnect2.c index 258d7cf56..3a0eb761a 100644 --- a/sshconnect2.c +++ b/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.101 2002/05/24 08:45:14 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.102 2002/05/25 08:50:39 markus Exp $"); #include "ssh.h" #include "ssh2.h" @@ -933,7 +933,7 @@ ssh_keysign( close(to[1]); if (dup2(to[0], STDIN_FILENO) < 0) fatal("ssh_keysign: dup2: %s", strerror(errno)); - execlp(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *) 0); + execl(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *) 0); fatal("ssh_keysign: exec(%s): %s", _PATH_SSH_KEY_SIGN, strerror(errno)); }