diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 00:08:39 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-21 00:08:39 +0000 |
commit | 2b266b7f083e969cba04a035eba46a6d96c0c1e3 (patch) | |
tree | fb9ecf1af23c8d94a3608c22e7c7779a3419c42e /authfd.h | |
parent | c90f8a98eaffccb8248111206416e1c9ed206da9 (diff) |
- markus@cvs.openbsd.org 2002/06/15 01:27:48
[authfd.c authfd.h ssh-add.c ssh-agent.c]
remove the CONSTRAIN_IDENTITY messages and introduce a new
ADD_ID message with contraints instead. contraints can be
only added together with the private key.
Diffstat (limited to 'authfd.h')
-rw-r--r-- | authfd.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.h,v 1.28 2002/06/15 00:07:38 markus Exp $ */ | 1 | /* $OpenBSD: authfd.h,v 1.29 2002/06/15 01:27:48 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -46,9 +46,9 @@ | |||
46 | #define SSH_AGENTC_LOCK 22 | 46 | #define SSH_AGENTC_LOCK 22 |
47 | #define SSH_AGENTC_UNLOCK 23 | 47 | #define SSH_AGENTC_UNLOCK 23 |
48 | 48 | ||
49 | /* constrain key usage */ | 49 | /* add key with constraints */ |
50 | #define SSH_AGENTC_CONSTRAIN_IDENTITY1 24 | 50 | #define SSH_AGENTC_ADD_RSA_ID_CONSTRAINED 24 |
51 | #define SSH_AGENTC_CONSTRAIN_IDENTITY 25 | 51 | #define SSH2_AGENTC_ADD_ID_CONSTRAINED 25 |
52 | 52 | ||
53 | #define SSH_AGENT_CONSTRAIN_LIFETIME 1 | 53 | #define SSH_AGENT_CONSTRAIN_LIFETIME 1 |
54 | 54 | ||
@@ -75,7 +75,7 @@ int ssh_get_num_identities(AuthenticationConnection *, int); | |||
75 | Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); | 75 | Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); |
76 | Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); | 76 | Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); |
77 | int ssh_add_identity(AuthenticationConnection *, Key *, const char *); | 77 | int ssh_add_identity(AuthenticationConnection *, Key *, const char *); |
78 | int ssh_constrain_identity(AuthenticationConnection *, Key *, u_int); | 78 | int ssh_add_identity_constrained(AuthenticationConnection *, Key *, const char *, u_int); |
79 | int ssh_remove_identity(AuthenticationConnection *, Key *); | 79 | int ssh_remove_identity(AuthenticationConnection *, Key *); |
80 | int ssh_remove_all_identities(AuthenticationConnection *, int); | 80 | int ssh_remove_all_identities(AuthenticationConnection *, int); |
81 | int ssh_lock_agent(AuthenticationConnection *, int, const char *); | 81 | int ssh_lock_agent(AuthenticationConnection *, int, const char *); |