summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
authordtucker <dtucker>2003-06-28 02:38:01 +0000
committerdtucker <dtucker>2003-06-28 02:38:01 +0000
commitc121265fd6713f9049b97bfb07d50f7410375586 (patch)
tree0c99112d99faa29516dc3f79019d089f6076e4da /key.c
parentb855a3ebafa83b0502de3bb11eaf5ed93ea7d581 (diff)
downloadopenssh-c121265fd6713f9049b97bfb07d50f7410375586.tar.gz
- markus@cvs.openbsd.org 2003/06/24 08:23:46
[auth2-hostbased.c auth2-pubkey.c auth2.c channels.c key.c key.h monitor.c packet.c packet.h serverloop.c sshconnect2.c sshd.c] int -> u_int; ok djm@, deraadt@, mouring@
Diffstat (limited to 'key.c')
-rw-r--r--key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/key.c b/key.c
index d918cfd0..b101e1b2 100644
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.52 2003/05/14 18:16:20 jakob Exp $");
+RCSID("$OpenBSD: key.c,v 1.53 2003/06/24 08:23:46 markus Exp $");
#include <openssl/evp.h>
@@ -438,7 +438,7 @@ key_read(Key *ret, char **cpp)
xfree(blob);
return -1;
}
- k = key_from_blob(blob, n);
+ k = key_from_blob(blob, (u_int)n);
xfree(blob);
if (k == NULL) {
error("key_read: key_from_blob %s failed", cp);
@@ -674,7 +674,7 @@ key_names_valid2(const char *names)
}
Key *
-key_from_blob(u_char *blob, int blen)
+key_from_blob(u_char *blob, u_int blen)
{
Buffer b;
char *ktype;