summaryrefslogtreecommitdiff
path: root/readconf.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2019-12-20 02:42:42 +0000
committerDarren Tucker <dtucker@dtucker.net>2019-12-20 14:47:34 +1100
commit68010acbcfe36167b3eece3115f3a502535f80df (patch)
treeb0da0f4bd26e8bd2dc2bc5d07d8ea0bf90f75b98 /readconf.c
parent8784b02dc49e1c98df4e7aca466be2f652ed4ad1 (diff)
upstream: Move always unsupported keywords to be grouped with the other
ones. Move oSecurityProvider to match the order in the OpCodes enum. Patch from openbsd@academicsolutions.ch, ok djm@ OpenBSD-Commit-ID: 061e4505861ec1e02ba3a63e3d1b3be3cad458ec
Diffstat (limited to 'readconf.c')
-rw-r--r--readconf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/readconf.c b/readconf.c
index 1b541e691..282afede6 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.317 2019/12/20 02:29:21 dtucker Exp $ */ 1/* $OpenBSD: readconf.c,v 1.318 2019/12/20 02:42:42 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -197,6 +197,9 @@ static struct {
197 { "afstokenpassing", oUnsupported }, 197 { "afstokenpassing", oUnsupported },
198 { "kerberosauthentication", oUnsupported }, 198 { "kerberosauthentication", oUnsupported },
199 { "kerberostgtpassing", oUnsupported }, 199 { "kerberostgtpassing", oUnsupported },
200 { "rsaauthentication", oUnsupported },
201 { "rhostsrsaauthentication", oUnsupported },
202 { "compressionlevel", oUnsupported },
200 203
201 /* Sometimes-unsupported options */ 204 /* Sometimes-unsupported options */
202#if defined(GSSAPI) 205#if defined(GSSAPI)
@@ -213,10 +216,6 @@ static struct {
213 { "smartcarddevice", oUnsupported }, 216 { "smartcarddevice", oUnsupported },
214 { "pkcs11provider", oUnsupported }, 217 { "pkcs11provider", oUnsupported },
215#endif 218#endif
216 { "securitykeyprovider", oSecurityKeyProvider },
217 { "rsaauthentication", oUnsupported },
218 { "rhostsrsaauthentication", oUnsupported },
219 { "compressionlevel", oUnsupported },
220 219
221 { "forwardagent", oForwardAgent }, 220 { "forwardagent", oForwardAgent },
222 { "forwardx11", oForwardX11 }, 221 { "forwardx11", oForwardX11 },
@@ -310,6 +309,7 @@ static struct {
310 { "pubkeyacceptedkeytypes", oPubkeyAcceptedKeyTypes }, 309 { "pubkeyacceptedkeytypes", oPubkeyAcceptedKeyTypes },
311 { "ignoreunknown", oIgnoreUnknown }, 310 { "ignoreunknown", oIgnoreUnknown },
312 { "proxyjump", oProxyJump }, 311 { "proxyjump", oProxyJump },
312 { "securitykeyprovider", oSecurityKeyProvider },
313 313
314 { NULL, oBadOption } 314 { NULL, oBadOption }
315}; 315};