summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 4a288199..991774aa 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,7 +35,7 @@
#include "includes.h"
#include "openbsd-compat/fake-queue.h"
-RCSID("$OpenBSD: ssh-agent.c,v 1.92 2002/06/15 00:01:36 markus Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.93 2002/06/15 00:07:38 markus Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -470,7 +470,7 @@ send:
}
static void
-process_contrain_identity(SocketEntry *e, int version)
+process_constrain_identity(SocketEntry *e, int version)
{
Key *key = NULL;
u_char *blob;
@@ -493,7 +493,7 @@ process_contrain_identity(SocketEntry *e, int version)
}
while (buffer_len(&e->request)) {
switch (buffer_get_char(&e->request)) {
- case SSH_AGENT_CONTRAIN_LIFETIME:
+ case SSH_AGENT_CONSTRAIN_LIFETIME:
death = time(NULL) + buffer_get_int(&e->request);
break;
default:
@@ -714,8 +714,8 @@ process_message(SocketEntry *e)
case SSH_AGENTC_REMOVE_ALL_RSA_IDENTITIES:
process_remove_all_identities(e, 1);
break;
- case SSH_AGENTC_CONTRAIN_IDENTITY1:
- process_contrain_identity(e, 1);
+ case SSH_AGENTC_CONSTRAIN_IDENTITY1:
+ process_constrain_identity(e, 1);
break;
/* ssh2 */
case SSH2_AGENTC_SIGN_REQUEST:
@@ -733,8 +733,8 @@ process_message(SocketEntry *e)
case SSH2_AGENTC_REMOVE_ALL_IDENTITIES:
process_remove_all_identities(e, 2);
break;
- case SSH_AGENTC_CONTRAIN_IDENTITY:
- process_contrain_identity(e, 2);
+ case SSH_AGENTC_CONSTRAIN_IDENTITY:
+ process_constrain_identity(e, 2);
break;
#ifdef SMARTCARD
case SSH_AGENTC_ADD_SMARTCARD_KEY: