summaryrefslogtreecommitdiff
path: root/crypto/openssh/bufaux.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-06-27 22:42:11 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-06-27 22:42:11 +0000
commit989dd127e4338c155f965057162a34a944a88bf8 (patch)
tree8b0c3ca50a9406d306d417f78b63f73616b80615 /crypto/openssh/bufaux.c
parentf4df40b21862e0b3c0a20fce0dfa399f4c3d6cd7 (diff)
downloadsrc-test2-989dd127e4338c155f965057162a34a944a88bf8.tar.gz
src-test2-989dd127e4338c155f965057162a34a944a88bf8.zip
Notes
Diffstat (limited to 'crypto/openssh/bufaux.c')
-rw-r--r--crypto/openssh/bufaux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/openssh/bufaux.c b/crypto/openssh/bufaux.c
index 17f08552c126..79f8bbd49667 100644
--- a/crypto/openssh/bufaux.c
+++ b/crypto/openssh/bufaux.c
@@ -38,7 +38,6 @@
#include "includes.h"
RCSID("$OpenBSD: bufaux.c,v 1.25 2002/04/20 09:14:58 markus Exp $");
-RCSID("$FreeBSD$");
#include <openssl/bn.h>
#include "bufaux.h"
@@ -158,6 +157,7 @@ buffer_get_int(Buffer *buffer)
return GET_32BIT(buf);
}
+#ifdef HAVE_U_INT64_T
u_int64_t
buffer_get_int64(Buffer *buffer)
{
@@ -165,6 +165,7 @@ buffer_get_int64(Buffer *buffer)
buffer_get(buffer, (char *) buf, 8);
return GET_64BIT(buf);
}
+#endif
/*
* Stores integers in the buffer, msb first.
@@ -185,6 +186,7 @@ buffer_put_int(Buffer *buffer, u_int value)
buffer_append(buffer, buf, 4);
}
+#ifdef HAVE_U_INT64_T
void
buffer_put_int64(Buffer *buffer, u_int64_t value)
{
@@ -192,6 +194,7 @@ buffer_put_int64(Buffer *buffer, u_int64_t value)
PUT_64BIT(buf, value);
buffer_append(buffer, buf, 8);
}
+#endif
/*
* Returns an arbitrary binary string from the buffer. The string cannot