diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 02:04:48 +0200 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 02:04:48 +0200 |
commit | 4eb4c4e1ef39906056e282d6e160350dcd3fa533 (patch) | |
tree | 9a31a7dc0115b01bc26d57fb488fb9cadf6b499d /ssh-add.c | |
parent | - (bal) Fixed AIX environment handling, use setpcred() instead of existing (diff) | |
download | openssh-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |