- stevesk@cvs.openbsd.org 2011/03/24 22:14:54
[ssh-keygen.c] use strcasecmp() for "clear" cert permission option also; ok djm
This commit is contained in:
parent
3ca1eb373f
commit
044f4a6cc3
|
@ -35,6 +35,9 @@
|
||||||
- jmc@cvs.openbsd.org 2011/03/24 15:29:30
|
- jmc@cvs.openbsd.org 2011/03/24 15:29:30
|
||||||
[ssh-keygen.1]
|
[ssh-keygen.1]
|
||||||
zap trailing whitespace;
|
zap trailing whitespace;
|
||||||
|
- stevesk@cvs.openbsd.org 2011/03/24 22:14:54
|
||||||
|
[ssh-keygen.c]
|
||||||
|
use strcasecmp() for "clear" cert permission option also; ok djm
|
||||||
|
|
||||||
20110221
|
20110221
|
||||||
- (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
|
- (dtucker) [contrib/cygwin/ssh-host-config] From Corinna: revamp of the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh-keygen.c,v 1.207 2011/03/23 16:50:04 stevesk Exp $ */
|
/* $OpenBSD: ssh-keygen.c,v 1.208 2011/03/24 22:14:54 stevesk Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -1717,7 +1717,7 @@ add_cert_option(char *opt)
|
||||||
{
|
{
|
||||||
char *val;
|
char *val;
|
||||||
|
|
||||||
if (strcmp(opt, "clear") == 0)
|
if (strcasecmp(opt, "clear") == 0)
|
||||||
certflags_flags = 0;
|
certflags_flags = 0;
|
||||||
else if (strcasecmp(opt, "no-x11-forwarding") == 0)
|
else if (strcasecmp(opt, "no-x11-forwarding") == 0)
|
||||||
certflags_flags &= ~CERTOPT_X_FWD;
|
certflags_flags &= ~CERTOPT_X_FWD;
|
||||||
|
|
Loading…
Reference in New Issue