summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
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 d918cfd0a..b101e1b27 100644
--- a/key.c
+++ b/key.c
@@ -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"
35RCSID("$OpenBSD: key.c,v 1.52 2003/05/14 18:16:20 jakob Exp $"); 35RCSID("$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
676Key * 676Key *
677key_from_blob(u_char *blob, int blen) 677key_from_blob(u_char *blob, u_int blen)
678{ 678{
679 Buffer b; 679 Buffer b;
680 char *ktype; 680 char *ktype;