summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:06:54 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-21 00:06:54 +0000
commitc90f8a98eaffccb8248111206416e1c9ed206da9 (patch)
treed0c1308647efc5c130f5dbefaf520c98b1f0c591 /authfd.c
parent4eb4c4e1ef39906056e282d6e160350dcd3fa533 (diff)
downloadopenssh-git-c90f8a98eaffccb8248111206416e1c9ed206da9.tar.gz
- markus@cvs.openbsd.org 2002/06/15 00:07:38
[authfd.c authfd.h ssh-add.c ssh-agent.c] fix stupid typo
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/authfd.c b/authfd.c
index b16bc470..14438ddf 100644
--- a/authfd.c
+++ b/authfd.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: authfd.c,v 1.52 2002/06/15 00:01:36 markus Exp $");
+RCSID("$OpenBSD: authfd.c,v 1.53 2002/06/15 00:07:38 markus Exp $");
#include <openssl/evp.h>
@@ -552,7 +552,7 @@ ssh_remove_identity(AuthenticationConnection *auth, Key *key)
}
int
-ssh_contrain_identity(AuthenticationConnection *auth, Key *key, u_int life)
+ssh_constrain_identity(AuthenticationConnection *auth, Key *key, u_int life)
{
Buffer msg;
int type;
@@ -562,20 +562,20 @@ ssh_contrain_identity(AuthenticationConnection *auth, Key *key, u_int life)
buffer_init(&msg);
if (key->type == KEY_RSA1) {
- buffer_put_char(&msg, SSH_AGENTC_CONTRAIN_IDENTITY1);
+ buffer_put_char(&msg, SSH_AGENTC_CONSTRAIN_IDENTITY1);
buffer_put_int(&msg, BN_num_bits(key->rsa->n));
buffer_put_bignum(&msg, key->rsa->e);
buffer_put_bignum(&msg, key->rsa->n);
} else if (key->type == KEY_DSA || key->type == KEY_RSA) {
key_to_blob(key, &blob, &blen);
- buffer_put_char(&msg, SSH_AGENTC_CONTRAIN_IDENTITY);
+ buffer_put_char(&msg, SSH_AGENTC_CONSTRAIN_IDENTITY);
buffer_put_string(&msg, blob, blen);
xfree(blob);
} else {
buffer_free(&msg);
return 0;
}
- buffer_put_char(&msg, SSH_AGENT_CONTRAIN_LIFETIME);
+ buffer_put_char(&msg, SSH_AGENT_CONSTRAIN_LIFETIME);
buffer_put_int(&msg, life);
if (ssh_request_reply(auth, &msg, &msg) == 0) {