diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-26 18:09:42 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-02-26 18:09:42 +0000 |
commit | 90fd814f90a5733584d8c2d877924469ac39d819 (patch) | |
tree | 900e828038a9ff6af55bde33c1137e1b37e61b6c /auth2.c | |
parent | e45a2cb2b7da40f81d4dced5dcbd12a23fefd833 (diff) |
- markus@cvs.openbsd.org 2002/02/24 19:14:59
[auth2.c authfd.c authfd.h authfile.c kexdh.c kexgex.c key.c key.h
ssh-dss.c ssh-dss.h ssh-keygen.c ssh-rsa.c ssh-rsa.h sshconnect2.c]
signed vs. unsigned: make size arguments u_int, ok stevesk@
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2.c,v 1.84 2002/02/04 11:58:10 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2.c,v 1.85 2002/02/24 19:14:59 markus Exp $"); |
27 | 27 | ||
28 | #include <openssl/evp.h> | 28 | #include <openssl/evp.h> |
29 | 29 | ||
@@ -398,7 +398,8 @@ userauth_pubkey(Authctxt *authctxt) | |||
398 | { | 398 | { |
399 | Buffer b; | 399 | Buffer b; |
400 | Key *key = NULL; | 400 | Key *key = NULL; |
401 | char *pkalg, *pkblob, *sig; | 401 | char *pkalg; |
402 | u_char *pkblob, *sig; | ||
402 | u_int alen, blen, slen; | 403 | u_int alen, blen, slen; |
403 | int have_sig, pktype; | 404 | int have_sig, pktype; |
404 | int authenticated = 0; | 405 | int authenticated = 0; |
@@ -512,7 +513,8 @@ userauth_hostbased(Authctxt *authctxt) | |||
512 | { | 513 | { |
513 | Buffer b; | 514 | Buffer b; |
514 | Key *key = NULL; | 515 | Key *key = NULL; |
515 | char *pkalg, *pkblob, *sig, *cuser, *chost, *service; | 516 | char *pkalg, *cuser, *chost, *service; |
517 | u_char *pkblob, *sig; | ||
516 | u_int alen, blen, slen; | 518 | u_int alen, blen, slen; |
517 | int pktype; | 519 | int pktype; |
518 | int authenticated = 0; | 520 | int authenticated = 0; |
@@ -794,4 +796,3 @@ hostbased_key_allowed(struct passwd *pw, const char *cuser, char *chost, | |||
794 | 796 | ||
795 | return (host_status == HOST_OK); | 797 | return (host_status == HOST_OK); |
796 | } | 798 | } |
797 | |||