|
1 | | -/* $OpenBSD: ssh-agent.c,v 1.322 2026/03/10 03:40:26 djm Exp $ */ |
| 1 | +/* $OpenBSD: ssh-agent.c,v 1.323 2026/03/10 06:35:29 deraadt Exp $ */ |
2 | 2 | /* |
3 | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -2581,11 +2581,11 @@ main(int ac, char **av) |
2581 | 2581 | if ((ccp = getenv("SSH_PKCS11_HELPER")) == NULL || *ccp == '\0') |
2582 | 2582 | ccp = _PATH_SSH_PKCS11_HELPER; |
2583 | 2583 | if (unveil(ccp, "x") == -1) |
2584 | | - fatal("%s: unveil %s: %s", __progname, cp, strerror(errno)); |
| 2584 | + fatal("%s: unveil %s: %s", __progname, ccp, strerror(errno)); |
2585 | 2585 | if ((ccp = getenv("SSH_ASKPASS")) == NULL || *ccp == '\0') |
2586 | 2586 | ccp = _PATH_SSH_ASKPASS_DEFAULT; |
2587 | 2587 | if (unveil(ccp, "x") == -1) |
2588 | | - fatal("%s: unveil %s: %s", __progname, cp, strerror(errno)); |
| 2588 | + fatal("%s: unveil %s: %s", __progname, ccp, strerror(errno)); |
2589 | 2589 | if (unveil("/dev/null", "rw") == -1) |
2590 | 2590 | fatal("%s: unveil /dev/null: %s", __progname, strerror(errno)); |
2591 | 2591 | if (pledge("stdio rpath cpath wpath unix id proc exec", NULL) == -1) |
|
0 commit comments