summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--bufaux.h55
2 files changed, 5 insertions, 56 deletions
diff --git a/ChangeLog b/ChangeLog
index 84754a012..308cbc377 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120060926
2 - (dtucker) [bufaux.h] nuke bufaux.h; it's already gone from OpenBSD and not
3 referenced any more. ok djm@
4
120060924 520060924
2 - (tim) [configure.ac] Remove CFLAGS hack for UnixWare 1.x/2.x (added 6 - (tim) [configure.ac] Remove CFLAGS hack for UnixWare 1.x/2.x (added
3 to rev 1.308) to work around broken gcc 2.x header file. 7 to rev 1.308) to work around broken gcc 2.x header file.
@@ -2491,4 +2495,4 @@
2491 OpenServer 6 and add osr5bigcrypt support so when someone migrates 2495 OpenServer 6 and add osr5bigcrypt support so when someone migrates
2492 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 2496 passwords between UnixWare and OpenServer they will still work. OK dtucker@
2493 2497
2494$Id: ChangeLog,v 1.4559 2006/09/26 08:57:28 dtucker Exp $ 2498$Id: ChangeLog,v 1.4560 2006/09/26 08:59:34 dtucker Exp $
diff --git a/bufaux.h b/bufaux.h
deleted file mode 100644
index 8a5359855..000000000
--- a/bufaux.h
+++ /dev/null
@@ -1,55 +0,0 @@
1/* $OpenBSD: bufaux.h,v 1.22 2006/03/25 22:22:42 djm Exp $ */
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
13 */
14
15#ifndef BUFAUX_H
16#define BUFAUX_H
17
18#include "buffer.h"
19#include <openssl/bn.h>
20
21void buffer_put_bignum(Buffer *, const BIGNUM *);
22void buffer_put_bignum2(Buffer *, const BIGNUM *);
23void buffer_get_bignum(Buffer *, BIGNUM *);
24void buffer_get_bignum2(Buffer *, BIGNUM *);
25
26u_short buffer_get_short(Buffer *);
27void buffer_put_short(Buffer *, u_short);
28
29u_int buffer_get_int(Buffer *);
30void buffer_put_int(Buffer *, u_int);
31
32u_int64_t buffer_get_int64(Buffer *);
33void buffer_put_int64(Buffer *, u_int64_t);
34
35int buffer_get_char(Buffer *);
36void buffer_put_char(Buffer *, int);
37
38void *buffer_get_string(Buffer *, u_int *);
39void buffer_put_string(Buffer *, const void *, u_int);
40void buffer_put_cstring(Buffer *, const char *);
41
42#define buffer_skip_string(b) \
43 do { u_int l = buffer_get_int(b); buffer_consume(b, l); } while (0)
44
45int buffer_put_bignum_ret(Buffer *, const BIGNUM *);
46int buffer_get_bignum_ret(Buffer *, BIGNUM *);
47int buffer_put_bignum2_ret(Buffer *, const BIGNUM *);
48int buffer_get_bignum2_ret(Buffer *, BIGNUM *);
49int buffer_get_short_ret(u_short *, Buffer *);
50int buffer_get_int_ret(u_int *, Buffer *);
51int buffer_get_int64_ret(u_int64_t *, Buffer *);
52void *buffer_get_string_ret(Buffer *, u_int *);
53int buffer_get_char_ret(char *, Buffer *);
54
55#endif /* BUFAUX_H */