diff options
Diffstat (limited to 'key.c')
-rw-r--r-- | key.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -32,7 +32,7 @@ | |||
32 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 32 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 | */ | 33 | */ |
34 | #include "includes.h" | 34 | #include "includes.h" |
35 | RCSID("$OpenBSD: key.c,v 1.52 2003/05/14 18:16:20 jakob Exp $"); | 35 | RCSID("$OpenBSD: key.c,v 1.53 2003/06/24 08:23:46 markus Exp $"); |
36 | 36 | ||
37 | #include <openssl/evp.h> | 37 | #include <openssl/evp.h> |
38 | 38 | ||
@@ -438,7 +438,7 @@ key_read(Key *ret, char **cpp) | |||
438 | xfree(blob); | 438 | xfree(blob); |
439 | return -1; | 439 | return -1; |
440 | } | 440 | } |
441 | k = key_from_blob(blob, n); | 441 | k = key_from_blob(blob, (u_int)n); |
442 | xfree(blob); | 442 | xfree(blob); |
443 | if (k == NULL) { | 443 | if (k == NULL) { |
444 | error("key_read: key_from_blob %s failed", cp); | 444 | error("key_read: key_from_blob %s failed", cp); |
@@ -674,7 +674,7 @@ key_names_valid2(const char *names) | |||
674 | } | 674 | } |
675 | 675 | ||
676 | Key * | 676 | Key * |
677 | key_from_blob(u_char *blob, int blen) | 677 | key_from_blob(u_char *blob, u_int blen) |
678 | { | 678 | { |
679 | Buffer b; | 679 | Buffer b; |
680 | char *ktype; | 680 | char *ktype; |