summaryrefslogtreecommitdiff
path: root/security/lsh/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/lsh/files')
-rw-r--r--security/lsh/files/patch-argp-help.c21
-rw-r--r--security/lsh/files/patch-io.c14
-rw-r--r--security/lsh/files/patch-nettle-benchmark.c70
-rw-r--r--security/lsh/files/patch-sftp-buffer.c11
-rw-r--r--security/lsh/files/patch-unix_random.c13
5 files changed, 0 insertions, 129 deletions
diff --git a/security/lsh/files/patch-argp-help.c b/security/lsh/files/patch-argp-help.c
deleted file mode 100644
index 4dded4517c03..000000000000
--- a/security/lsh/files/patch-argp-help.c
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/argp/argp-help.c.orig Tue Jan 2 22:36:35 2001
-+++ src/argp/argp-help.c Wed Dec 18 05:22:38 2002
-@@ -50,7 +50,9 @@
- #include <string.h>
- #include <assert.h>
- #include <stdarg.h>
-+#ifndef __FreeBSD__
- #include <malloc.h>
-+#endif
- #include <ctype.h>
-
-
-@@ -1114,7 +1116,7 @@
- int old_wm = __argp_fmtstream_wmargin (stream);
- /* PEST is a state block holding some of our variables that we'd like to
- share with helper functions. */
--#ifdef __GNUC__
-+#if defined(__GNUC__) && !defined(__FreeBSD__)
- struct pentry_state pest = { entry, stream, hhstate, 1, state };
- #else /* !__GNUC__ */
- /* Decent initializers are a GNU extension */
diff --git a/security/lsh/files/patch-io.c b/security/lsh/files/patch-io.c
deleted file mode 100644
index a75b70a39fec..000000000000
--- a/security/lsh/files/patch-io.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/io.c.orig Sun Feb 16 20:46:23 2003
-+++ src/io.c Sun Mar 2 10:11:18 2003
-@@ -34,7 +34,11 @@
- #endif
-
- /* For the popen code */
-+#ifdef __FreeBSD__
-+#include <sys/wait.h>
-+#else
- #include <wait.h>
-+#endif
-
- #ifdef HAVE_POLL
- # if HAVE_POLL_H
diff --git a/security/lsh/files/patch-nettle-benchmark.c b/security/lsh/files/patch-nettle-benchmark.c
deleted file mode 100644
index 6c9e881d190a..000000000000
--- a/security/lsh/files/patch-nettle-benchmark.c
+++ /dev/null
@@ -1,70 +0,0 @@
---- src/nettle/examples/nettle-benchmark.c.orig Fri Feb 15 11:09:13 2002
-+++ src/nettle/examples/nettle-benchmark.c Wed Dec 18 05:34:29 2002
-@@ -169,8 +169,15 @@
- init_data(data);
-
- {
-+#ifndef __FreeBSD__
- struct bench_cipher_info info
- = { ctx, cipher->encrypt, data };
-+#else
-+ struct bench_cipher_info info;
-+ info.ctx = ctx;
-+ info.crypt = cipher->encrypt;
-+ info.data = data;
-+#endif
-
- init_key(cipher->key_size, key);
- cipher->set_encrypt_key(ctx, cipher->key_size, key);
-@@ -180,8 +187,15 @@
- }
-
- {
-+#ifndef __FreeBSD__
- struct bench_cipher_info info
- = { ctx, cipher->decrypt, data };
-+#else
-+ struct bench_cipher_info info;
-+ info.ctx = ctx;
-+ info.crypt = cipher->decrypt;
-+ info.data = data;
-+#endif
-
- init_key(cipher->key_size, key);
- cipher->set_decrypt_key(ctx, cipher->key_size, key);
-@@ -196,8 +210,17 @@
-
- /* Do CBC mode */
- {
-+#ifndef __FreeBSD__
- struct bench_cbc_info info
- = { ctx, cipher->encrypt, data, cipher->block_size, iv };
-+#else
-+ struct bench_cbc_info info;
-+ info.ctx = ctx;
-+ info.crypt = cipher->encrypt;
-+ info.data = data;
-+ info.block_size = cipher->block_size;
-+ info.iv = iv;
-+#endif
-
- memset(iv, 0, sizeof(iv));
-
-@@ -208,8 +231,17 @@
- }
-
- {
-+#ifndef __FreeBSD__
- struct bench_cbc_info info
- = { ctx, cipher->decrypt, data, cipher->block_size, iv };
-+#else
-+ struct bench_cbc_info info;
-+ info.ctx = ctx;
-+ info.crypt = cipher->decrypt;
-+ info.data = data;
-+ info.block_size = cipher->block_size;
-+ info.iv = iv;
-+#endif
-
- memset(iv, 0, sizeof(iv));
-
diff --git a/security/lsh/files/patch-sftp-buffer.c b/security/lsh/files/patch-sftp-buffer.c
deleted file mode 100644
index fd148bdeeedd..000000000000
--- a/security/lsh/files/patch-sftp-buffer.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/sftp/buffer.c.orig Sun Feb 23 19:34:44 2003
-+++ src/sftp/buffer.c Sun Mar 2 09:52:24 2003
-@@ -227,7 +227,7 @@
- {
- uint8_t buf[8];
-
-- WRITE_uint64_t(buf, value);
-+ WRITE_UINT64(buf, value);
- PUT_DATA(o, buf);
- }
-
diff --git a/security/lsh/files/patch-unix_random.c b/security/lsh/files/patch-unix_random.c
deleted file mode 100644
index e4600c0412ad..000000000000
--- a/security/lsh/files/patch-unix_random.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/unix_random.c.orig Sun Feb 16 21:27:45 2003
-+++ src/unix_random.c Sun Mar 2 10:18:35 2003
-@@ -36,9 +36,9 @@
- #endif
-
- #include <sys/types.h>
-+#include <sys/time.h>
- #include <sys/resource.h>
- #include <sys/stat.h>
--#include <sys/time.h>
-
- #include "randomness.h"
-