summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth2.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-02-24 19:15:00 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-02-24 19:15:00 +0000
commit0e3c7d18a4ef357d56eb99caf71416e6d17a4f03 (patch)
tree8c6e80f03f0bbb3bfea52ee452ddf1f564d96379 /usr.bin/ssh/auth2.c
parent335d8867dca0629bff01a41d758074ae3218fdcc (diff)
signed vs. unsigned: make size arguments u_int, ok stevesk@
Diffstat (limited to 'usr.bin/ssh/auth2.c')
-rw-r--r--usr.bin/ssh/auth2.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c
index fcc84d2104b..21f46a3fcf6 100644
--- a/usr.bin/ssh/auth2.c
+++ b/usr.bin/ssh/auth2.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth2.c,v 1.84 2002/02/04 11:58:10 markus Exp $");
+RCSID("$OpenBSD: auth2.c,v 1.85 2002/02/24 19:14:59 markus Exp $");
#include <openssl/evp.h>
@@ -347,7 +347,8 @@ userauth_pubkey(Authctxt *authctxt)
{
Buffer b;
Key *key = NULL;
- char *pkalg, *pkblob, *sig;
+ char *pkalg;
+ u_char *pkblob, *sig;
u_int alen, blen, slen;
int have_sig, pktype;
int authenticated = 0;
@@ -457,7 +458,8 @@ userauth_hostbased(Authctxt *authctxt)
{
Buffer b;
Key *key = NULL;
- char *pkalg, *pkblob, *sig, *cuser, *chost, *service;
+ char *pkalg, *cuser, *chost, *service;
+ u_char *pkblob, *sig;
u_int alen, blen, slen;
int pktype;
int authenticated = 0;
@@ -739,4 +741,3 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost,
return (host_status == HOST_OK);
}
-