summaryrefslogtreecommitdiffstats
path: root/ssh-add.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-21 02:04:48 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-06-21 02:04:48 +0200
commit4eb4c4e1ef39906056e282d6e160350dcd3fa533 (patch)
tree9a31a7dc0115b01bc26d57fb488fb9cadf6b499d /ssh-add.c
parent - (bal) Fixed AIX environment handling, use setpcred() instead of existing (diff)
downloadopenssh-4eb4c4e1ef39906056e282d6e160350dcd3fa533.tar.xz
openssh-4eb4c4e1ef39906056e282d6e160350dcd3fa533.zip
- markus@cvs.openbsd.org 2002/06/15 00:01:36
[authfd.c authfd.h ssh-add.c ssh-agent.c] break agent key lifetime protocol and allow other contraints for key usage.
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 30d635400..cfd622d77 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.57 2002/06/10 17:36:23 stevesk Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.58 2002/06/15 00:01:36 markus Exp $");
#include <openssl/evp.h>
@@ -171,7 +171,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
fprintf(stderr, "Could not add identity: %s\n", filename);
if (ret == 0 && lifetime != 0) {
- if (ssh_lifetime_identity(ac, private, lifetime)) {
+ if (ssh_contrain_identity(ac, private, lifetime)) {
fprintf(stderr,
"Lifetime set to %d seconds for: %s (%s)\n",
lifetime, filename, comment);