aboutsummaryrefslogtreecommitdiff
path: root/security/fressh/files
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-12 22:06:35 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-12 22:06:35 +0000
commitd67b1912242f509390448aad2285e098da70332d (patch)
tree9d61cc271ee93c200ecaff0ac2335df5919412d6 /security/fressh/files
parentae24aeb56451a938876d9980ab71dba66d34f6dc (diff)
Fix with newer gcc by converting multiline string literals to string
concatenation. Changed the formatting of the strings to what was more likely intended, so bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=80856
Diffstat (limited to 'security/fressh/files')
-rw-r--r--security/fressh/files/patch-transport::ssh_deattack.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/fressh/files/patch-transport::ssh_deattack.c b/security/fressh/files/patch-transport::ssh_deattack.c
new file mode 100644
index 000000000000..357f7ba595fd
--- /dev/null
+++ b/security/fressh/files/patch-transport::ssh_deattack.c
@@ -0,0 +1,24 @@
+--- transport/ssh_deattack.c.orig Sun May 11 22:27:05 2003
++++ transport/ssh_deattack.c Sun May 11 22:27:06 2003
+@@ -132,8 +132,8 @@
+ n = l;
+ h = (u_int32_t *) malloc(n * HASH_ENTRYSIZE);
+ if (h == NULL) {
+- SSH_ERROR("Unable to allocate memory for CRC compensation
+- attack detector: %s\n", strerror(errno));
++ SSH_ERROR("Unable to allocate memory for CRC compensation\n"
++ "attack detector: %s\n", strerror(errno));
+ return -1;
+ }
+ } else
+@@ -144,8 +144,8 @@
+ h = (u_int32_t *) realloc(h, n * HASH_ENTRYSIZE);
+
+ if (h == NULL) {
+- SSH_ERROR("Unable to allocate memory for CRC compensation
+- attack detector: %s\n", strerror(errno));
++ SSH_ERROR("Unable to allocate memory for CRC compensation\n"
++ "attack detector: %s\n", strerror(errno));
+ return -1;
+ }
+ }