- markus@cvs.openbsd.org 2002/02/25 16:33:27
[ssh-keygen.c sshconnect2.c uuencode.c uuencode.h] more u_* fixes
This commit is contained in:
parent
1ebd7a5342
commit
c58ab02e45
|
@ -48,6 +48,9 @@
|
||||||
forwarding endpoints). the intention is to preserve the on-the-wire
|
forwarding endpoints). the intention is to preserve the on-the-wire
|
||||||
appearance to applications at either end; the applications can then
|
appearance to applications at either end; the applications can then
|
||||||
enable TCP_NODELAY according to their requirements. ok markus@
|
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
|
20020225
|
||||||
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
|
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
|
||||||
|
@ -7721,4 +7724,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- 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 $
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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/evp.h>
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
@ -150,7 +150,7 @@ static void
|
||||||
do_convert_to_ssh2(struct passwd *pw)
|
do_convert_to_ssh2(struct passwd *pw)
|
||||||
{
|
{
|
||||||
Key *k;
|
Key *k;
|
||||||
int len;
|
u_int len;
|
||||||
u_char *blob;
|
u_char *blob;
|
||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "ssh.h"
|
||||||
#include "ssh2.h"
|
#include "ssh2.h"
|
||||||
|
@ -567,7 +567,7 @@ send_pubkey_test(Authctxt *authctxt, Key *k, sign_cb_fn *sign_callback,
|
||||||
int hint)
|
int hint)
|
||||||
{
|
{
|
||||||
u_char *blob;
|
u_char *blob;
|
||||||
int bloblen, have_sig = 0;
|
u_int bloblen, have_sig = 0;
|
||||||
|
|
||||||
debug3("send_pubkey_test");
|
debug3("send_pubkey_test");
|
||||||
|
|
||||||
|
@ -956,7 +956,7 @@ authmethod_get(char *authlist)
|
||||||
{
|
{
|
||||||
|
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
int next;
|
u_int next;
|
||||||
|
|
||||||
/* Use a suitable default if we're passed a nil list. */
|
/* Use a suitable default if we're passed a nil list. */
|
||||||
if (authlist == NULL || strlen(authlist) == 0)
|
if (authlist == NULL || strlen(authlist) == 0)
|
||||||
|
|
|
@ -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.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
#include "uuencode.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
|
int
|
||||||
uuencode(u_char *src, u_int srclength,
|
uuencode(u_char *src, u_int srclength,
|
||||||
|
@ -58,7 +58,7 @@ uudecode(const char *src, u_char *target, size_t targsize)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
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);
|
u_char *buf = xmalloc(2*len);
|
||||||
int i, n;
|
int i, n;
|
||||||
|
|
|
@ -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.
|
* Copyright (c) 2000 Markus Friedl. All rights reserved.
|
||||||
|
@ -28,5 +28,5 @@
|
||||||
#define UUENCODE_H
|
#define UUENCODE_H
|
||||||
int uuencode(u_char *, u_int, char *, size_t);
|
int uuencode(u_char *, u_int, char *, size_t);
|
||||||
int uudecode(const char *, u_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
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue