diff svr-authpubkeyoptions.c @ 502:43bbe17d6ba0

- Add Counter Mode support
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 13:53:31 +0000
parents df7f7da7f6e4
children b321aeb57c64
line wrap: on
line diff
--- a/svr-authpubkeyoptions.c	Mon Sep 29 02:23:04 2008 +0000
+++ b/svr-authpubkeyoptions.c	Mon Sep 29 13:53:31 2008 +0000
@@ -105,7 +105,7 @@
 /* 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;
 	}