diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-03-04 23:27:26 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-03-04 23:27:26 +0000 |
commit | 60167b73d57b9ecbda19a58ec80f81ec7bc20390 (patch) | |
tree | 77fb24b64aaaff74dd10fc356fb3ad85667582a7 | |
parent | 9920794d6fee062874e8a136c1765d37bc714385 (diff) |
"force-command" is not spelled "forced-command"; spotted by
imorgan AT nas.nasa.gov
-rw-r--r-- | usr.bin/ssh/auth-options.c | 4 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-keygen.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth-options.c b/usr.bin/ssh/auth-options.c index 97776bac42d..c762eae5459 100644 --- a/usr.bin/ssh/auth-options.c +++ b/usr.bin/ssh/auth-options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth-options.c,v 1.46 2010/03/03 01:44:36 djm Exp $ */ +/* $OpenBSD: auth-options.c,v 1.47 2010/03/04 23:27:25 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -444,7 +444,7 @@ auth_cert_constraints(Buffer *c_orig, struct passwd *pw) } if (cert_forced_command != NULL) { error("Certificate has multiple " - "forced-command constraints"); + "force-command constraints"); xfree(command); goto out; } diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c index 3f2a9d68f1a..a3c28c0783c 100644 --- a/usr.bin/ssh/ssh-keygen.c +++ b/usr.bin/ssh/ssh-keygen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keygen.c,v 1.182 2010/03/04 20:35:08 djm Exp $ */ +/* $OpenBSD: ssh-keygen.c,v 1.183 2010/03/04 23:27:25 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1134,7 +1134,7 @@ prepare_constraint_buf(Buffer *c) if ((constraint_flags & CONSTRAINT_USER_RC) != 0) add_flag_constraint(c, "permit-user-rc"); if (constraint_command != NULL) - add_string_constraint(c, "forced-command", constraint_command); + add_string_constraint(c, "force-command", constraint_command); if (constraint_src_addr != NULL) add_string_constraint(c, "source-address", constraint_src_addr); } |