aboutsummaryrefslogtreecommitdiff
path: root/sbin/iscontrol/iscontrol.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2010-08-09 12:36:36 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2010-08-09 12:36:36 +0000
commitc201d4532c499221abc67df4802b7095b1017674 (patch)
tree43342de6f254d6434829cb76dee008ac438a8d6d /sbin/iscontrol/iscontrol.h
parent1dd592007a42ea9e8ab8e07e060a671789e5799a (diff)
downloadsrc-c201d4532c499221abc67df4802b7095b1017674.tar.gz
src-c201d4532c499221abc67df4802b7095b1017674.zip
- Add full support for header / data digests.
- Increase target limit from 4 to 64; this limit will be removed entirely at a later time. - Improve recovery from lost network connections. - Fix some potential deadlocks and a serious memory leak. - Fix incorrect use of MH_ALIGN (instead of M_ALIGN), which makes no practical difference, but triggers a KASSERT with INVARIANTS. - Fix some warnings in iscontrol(8) and improve the man page somewhat. Submitted by: Daniel Braniss <danny@cs.huji.ac.il> Sponsored by: Dansk Scanning A/S, Data Robotics Inc.
Notes
Notes: svn path=/head/; revision=211095
Diffstat (limited to 'sbin/iscontrol/iscontrol.h')
-rw-r--r--sbin/iscontrol/iscontrol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iscontrol/iscontrol.h b/sbin/iscontrol/iscontrol.h
index 5ab296d0a5c9..6aa5612e2321 100644
--- a/sbin/iscontrol/iscontrol.h
+++ b/sbin/iscontrol/iscontrol.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2005-2008 Daniel Braniss <danny@cs.huji.ac.il>
+ * Copyright (c) 2005-2010 Daniel Braniss <danny@cs.huji.ac.il>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -154,7 +154,7 @@ void parseArgs(int nargs, char **args, isc_opt_t *op);
void parseConfig(FILE *fd, char *key, isc_opt_t *op);
char *chapDigest(char *ap, char id, char *cp, char *chapSecret);
-char *genChapChallenge(char *encoding, int len);
+char *genChapChallenge(char *encoding, uint len);
int str2bin(char *str, char **rsp);
char *bin2str(char *fmt, unsigned char *md, int blen);