diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 13:53:31 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-09-29 13:53:31 +0000 |
commit | 511f6555c98634d8d962f65e8d5ff3ba690e0bf9 (patch) | |
tree | 83dc9f384e04071da685d43688e54dc1bb5d874e /svr-authpubkeyoptions.c | |
parent | 049fcf1ac572e1a13dc1281c26bbf3512c533fb7 (diff) |
- Add Counter Mode support
--HG--
extra : convert_revision : 5225162bdf32d70b58b6d3ae375a290326c59f3a
Diffstat (limited to 'svr-authpubkeyoptions.c')
-rw-r--r-- | svr-authpubkeyoptions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-authpubkeyoptions.c b/svr-authpubkeyoptions.c index 8a92d62..13a179d 100644 --- a/svr-authpubkeyoptions.c +++ b/svr-authpubkeyoptions.c @@ -105,7 +105,7 @@ void svr_pubkey_options_cleanup() { /* helper for svr_add_pubkey_options. returns DROPBEAR_SUCCESS if the option is matched, and increments the options_buf */ static int match_option(buffer *options_buf, const char *opt_name) { - const int len = strlen(opt_name); + const unsigned int len = strlen(opt_name); if (options_buf->len - options_buf->pos < len) { return DROPBEAR_FAILURE; } |