Uses unsigned ints for lengths
commit41487706aeccf3a190364994295d931d084a9e66
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 12 Sep 2010 16:48:47 +0000 (12 17:48 +0100)
committerLove Hornquist Astrand <lha@h5l.org>
Tue, 14 Sep 2010 22:13:43 +0000 (14 15:13 -0700)
treec22eb58ba7347074c0c41bfdf1ed3b9d035e85a5
parent5d65a7182c3ef1a7955787533019e2bc80e7e61c
Uses unsigned ints for lengths

EVP_BytesToKey uses min() on a mixture of signed and unsigned
paramters. To avoid compiler warnings, use unsigned int for all
of the iv and key lengths in this function.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
lib/hcrypto/evp.c