[ssh-keygen.c sshconnect2.c uuencode.c uuencode.h]
     more u_* fixes
This commit is contained in:
Ben Lindstrom 2002-02-26 18:15:09 +00:00
parent 1ebd7a5342
commit c58ab02e45
5 changed files with 14 additions and 11 deletions

View File

@ -48,6 +48,9 @@
forwarding endpoints). the intention is to preserve the on-the-wire
appearance to applications at either end; the applications can then
enable TCP_NODELAY according to their requirements. ok markus@
- markus@cvs.openbsd.org 2002/02/25 16:33:27
[ssh-keygen.c sshconnect2.c uuencode.c uuencode.h]
more u_* fixes
20020225
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
@ -7721,4 +7724,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1886 2002/02/26 18:12:51 mouring Exp $
$Id: ChangeLog,v 1.1887 2002/02/26 18:15:09 mouring Exp $

View File

@ -12,7 +12,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: ssh-keygen.c,v 1.93 2002/02/24 19:14:59 markus Exp $");
RCSID("$OpenBSD: ssh-keygen.c,v 1.94 2002/02/25 16:33:27 markus Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@ -150,7 +150,7 @@ static void
do_convert_to_ssh2(struct passwd *pw)
{
Key *k;
int len;
u_int len;
u_char *blob;
struct stat st;

View File

@ -23,7 +23,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: sshconnect2.c,v 1.96 2002/02/24 19:14:59 markus Exp $");
RCSID("$OpenBSD: sshconnect2.c,v 1.97 2002/02/25 16:33:27 markus Exp $");
#include "ssh.h"
#include "ssh2.h"
@ -567,7 +567,7 @@ send_pubkey_test(Authctxt *authctxt, Key *k, sign_cb_fn *sign_callback,
int hint)
{
u_char *blob;
int bloblen, have_sig = 0;
u_int bloblen, have_sig = 0;
debug3("send_pubkey_test");
@ -956,7 +956,7 @@ authmethod_get(char *authlist)
{
char *name = NULL;
int next;
u_int next;
/* Use a suitable default if we're passed a nil list. */
if (authlist == NULL || strlen(authlist) == 0)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $ */
/* $OpenBSD: uuencode.c,v 1.14 2002/02/25 16:33:27 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@ -28,7 +28,7 @@
#include "xmalloc.h"
#include "uuencode.h"
RCSID("$OpenBSD: uuencode.c,v 1.13 2002/02/24 18:31:09 markus Exp $");
RCSID("$OpenBSD: uuencode.c,v 1.14 2002/02/25 16:33:27 markus Exp $");
int
uuencode(u_char *src, u_int srclength,
@ -58,7 +58,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
}
void
dump_base64(FILE *fp, u_char *data, int len)
dump_base64(FILE *fp, u_char *data, u_int len)
{
u_char *buf = xmalloc(2*len);
int i, n;

View File

@ -1,4 +1,4 @@
/* $OpenBSD: uuencode.h,v 1.8 2001/06/26 17:27:25 markus Exp $ */
/* $OpenBSD: uuencode.h,v 1.9 2002/02/25 16:33:27 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@ -28,5 +28,5 @@
#define UUENCODE_H
int uuencode(u_char *, u_int, char *, size_t);
int uudecode(const char *, u_char *, size_t);
void dump_base64(FILE *, u_char *, int);
void dump_base64(FILE *, u_char *, u_int);
#endif