~ubuntu-branches/ubuntu/lucid/openssh/lucid

« back to all changes in this revision

Viewing changes to openbsd-compat/openbsd-compat.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-30 23:09:58 UTC
  • mfrom: (1.13.3 upstream) (29 hardy)
  • mto: This revision was merged to the branch mainline in revision 43.
  • Revision ID: james.westby@ubuntu.com-20080930230958-o6vsgn8c4mm959s0
Tags: 1:5.1p1-3
* Remove unnecessary ssh-vulnkey output in non-verbose mode when no
  compromised or unknown keys were found (closes: #496495).
* Configure with --disable-strip; dh_strip will deal with stripping
  binaries and will honour DEB_BUILD_OPTIONS (thanks, Bernhard R. Link;
  closes: #498681).
* Fix handling of zero-length server banners (thanks, Tomas Mraz; closes:
  #497026).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: openbsd-compat.h,v 1.42 2006/09/03 12:44:50 dtucker Exp $ */
 
1
/* $Id: openbsd-compat.h,v 1.46 2008/06/08 17:32:29 dtucker Exp $ */
2
2
 
3
3
/*
4
4
 * Copyright (c) 1999-2003 Damien Miller.  All rights reserved.
101
101
char *dirname(const char *path);
102
102
#endif
103
103
 
 
104
#ifndef HAVE_FMT_SCALED
 
105
#define FMT_SCALED_STRSIZE      7
 
106
int     fmt_scaled(long long number, char *result);
 
107
#endif
 
108
 
104
109
#if defined(BROKEN_INET_NTOA) || !defined(HAVE_INET_NTOA)
105
110
char *inet_ntoa(struct in_addr in);
106
111
#endif
139
144
 
140
145
/* Home grown routines */
141
146
#include "bsd-misc.h"
 
147
#include "bsd-statvfs.h"
142
148
#include "bsd-waitpid.h"
 
149
#include "bsd-poll.h"
143
150
 
144
151
#ifndef HAVE_GETPEEREID
145
152
int getpeereid(int , uid_t *, gid_t *);
150
157
void arc4random_stir(void);
151
158
#endif /* !HAVE_ARC4RANDOM */
152
159
 
 
160
#ifndef HAVE_ARC4RANDOM_BUF
 
161
void arc4random_buf(void *, size_t);
 
162
#endif
 
163
 
 
164
#ifndef HAVE_ARC4RANDOM_UNIFORM
 
165
u_int32_t arc4random_uniform(u_int32_t);
 
166
#endif
 
167
 
153
168
#ifndef HAVE_ASPRINTF
154
169
int asprintf(char **, const char *, ...);
155
170
#endif