[match.c]
     support up to 40 algorithms per proposal
This commit is contained in:
Damien Miller 2002-02-13 13:55:30 +11:00
parent 6a47f30c55
commit afc7a5d774
2 changed files with 6 additions and 3 deletions

View File

@ -13,6 +13,9 @@
- markus@cvs.openbsd.org 2002/02/11 16:19:39
[sshd.c]
include md5.h not hmac.h
- markus@cvs.openbsd.org 2002/02/11 16:21:42
[match.c]
support up to 40 algorithms per proposal
20020210
- (djm) OpenBSD CVS Sync
@ -7560,4 +7563,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1842 2002/02/13 02:55:06 djm Exp $
$Id: ChangeLog,v 1.1843 2002/02/13 02:55:30 djm Exp $

View File

@ -35,7 +35,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: match.c,v 1.16 2001/12/19 07:18:56 deraadt Exp $");
RCSID("$OpenBSD: match.c,v 1.17 2002/02/11 16:21:42 markus Exp $");
#include "match.h"
#include "xmalloc.h"
@ -226,7 +226,7 @@ match_user(const char *user, const char *host, const char *ipaddr,
* Returns first item from client-list that is also supported by server-list,
* caller must xfree() returned string.
*/
#define MAX_PROP 20
#define MAX_PROP 40
#define SEP ","
char *
match_list(const char *client, const char *server, u_int *next)