summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:04:48 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:04:48 +0000
commit4eb4c4e1ef39906056e282d6e160350dcd3fa533 (patch)
tree9a31a7dc0115b01bc26d57fb488fb9cadf6b499d /ssh-add.c
parentf0bfa839bda8309c45b807e55bb2b2dfac7a6f9a (diff)
- 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 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: ssh-add.c,v 1.57 2002/06/10 17:36:23 stevesk Exp $"); 38RCSID("$OpenBSD: ssh-add.c,v 1.58 2002/06/15 00:01:36 markus Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41 41
@@ -171,7 +171,7 @@ add_file(AuthenticationConnection *ac, const char *filename)
171 fprintf(stderr, "Could not add identity: %s\n", filename); 171 fprintf(stderr, "Could not add identity: %s\n", filename);
172 172
173 if (ret == 0 && lifetime != 0) { 173 if (ret == 0 && lifetime != 0) {
174 if (ssh_lifetime_identity(ac, private, lifetime)) { 174 if (ssh_contrain_identity(ac, private, lifetime)) {
175 fprintf(stderr, 175 fprintf(stderr,
176 "Lifetime set to %d seconds for: %s (%s)\n", 176 "Lifetime set to %d seconds for: %s (%s)\n",
177 lifetime, filename, comment); 177 lifetime, filename, comment);