python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / networking / openssh / ssh-keysign-8.5.patch
blob67c45b6b7d89d83db4e634aeaf874f960e995b20
1 diff --git a/pathnames.h b/pathnames.h
2 index cb44caa4..354fdf05 100644
3 --- a/pathnames.h
4 +++ b/pathnames.h
5 @@ -124,7 +124,7 @@
7 /* Location of ssh-keysign for hostbased authentication */
8 #ifndef _PATH_SSH_KEY_SIGN
9 -#define _PATH_SSH_KEY_SIGN "/usr/libexec/ssh-keysign"
10 +#define _PATH_SSH_KEY_SIGN "ssh-keysign"
11 #endif
13 /* Location of ssh-pkcs11-helper to support keys in tokens */
14 --- a/sshconnect2.c
15 +++ b/sshconnect2.c
16 @@ -2021,7 +2021,7 @@
18 debug3_f("[child] pid=%ld, exec %s",
19 (long)getpid(), _PATH_SSH_KEY_SIGN);
20 - execl(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *)NULL);
21 + execlp(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *)NULL);
22 fatal_f("exec(%s): %s", _PATH_SSH_KEY_SIGN,
23 strerror(errno));