summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--openbsd-compat/xmmap.c5
-rw-r--r--regress/conch-ciphers.sh3
-rw-r--r--regress/putty-ciphers.sh3
-rw-r--r--regress/putty-kex.sh3
-rw-r--r--regress/putty-transfer.sh3
6 files changed, 18 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index d4b454fc3..2fff9e388 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120090216
2 - (djm) [regress/conch-ciphers.sh regress/putty-ciphers.sh]
3 [regress/putty-kex.sh regress/putty-transfer.sh] Downgrade disabled
4 interop tests from FATAL error to a warning. Allows some interop
5 tests to proceed if others are missing necessary prerequisites.
6
120090214 720090214
2 - (djm) OpenBSD CVS Sync 8 - (djm) OpenBSD CVS Sync
3 - dtucker@cvs.openbsd.org 2009/02/02 11:15:14 9 - dtucker@cvs.openbsd.org 2009/02/02 11:15:14
@@ -5163,5 +5169,5 @@
5163 OpenServer 6 and add osr5bigcrypt support so when someone migrates 5169 OpenServer 6 and add osr5bigcrypt support so when someone migrates
5164 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 5170 passwords between UnixWare and OpenServer they will still work. OK dtucker@
5165 5171
5166$Id: ChangeLog,v 1.5195 2009/02/14 07:00:52 djm Exp $ 5172$Id: ChangeLog,v 1.5196 2009/02/16 04:21:39 djm Exp $
5167 5173
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c
index 23efe3888..04c6babc2 100644
--- a/openbsd-compat/xmmap.c
+++ b/openbsd-compat/xmmap.c
@@ -23,7 +23,7 @@
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26/* $Id: xmmap.c,v 1.14 2007/06/11 02:52:24 djm Exp $ */ 26/* $Id: xmmap.c,v 1.15 2009/02/16 04:21:40 djm Exp $ */
27 27
28#include "includes.h" 28#include "includes.h"
29 29
@@ -71,7 +71,8 @@ xmmap(size_t size)
71 fatal("mkstemp(\"%s\"): %s", 71 fatal("mkstemp(\"%s\"): %s",
72 MM_SWAP_TEMPLATE, strerror(errno)); 72 MM_SWAP_TEMPLATE, strerror(errno));
73 unlink(tmpname); 73 unlink(tmpname);
74 ftruncate(tmpfd, size); 74 if (ftruncate(tmpfd, size) != 0)
75 fatal("%s: ftruncate: %s", __func__, strerror(errno));
75 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, 76 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED,
76 tmpfd, (off_t)0); 77 tmpfd, (off_t)0);
77 close(tmpfd); 78 close(tmpfd);
diff --git a/regress/conch-ciphers.sh b/regress/conch-ciphers.sh
index 84b190618..5b65cd993 100644
--- a/regress/conch-ciphers.sh
+++ b/regress/conch-ciphers.sh
@@ -7,7 +7,8 @@ DATA=/bin/ls
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9if test "x$REGRESS_INTEROP_CONCH" != "xyes" ; then 9if test "x$REGRESS_INTEROP_CONCH" != "xyes" ; then
10 fatal "conch interop tests not enabled" 10 echo "conch interop tests not enabled"
11 exit 0
11fi 12fi
12 13
13start_sshd 14start_sshd
diff --git a/regress/putty-ciphers.sh b/regress/putty-ciphers.sh
index 441053627..928ea60d2 100644
--- a/regress/putty-ciphers.sh
+++ b/regress/putty-ciphers.sh
@@ -7,7 +7,8 @@ DATA=/bin/ls
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then 9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then
10 fatal "putty interop tests not enabled" 10 echo "putty interop tests not enabled"
11 exit 0
11fi 12fi
12 13
13for c in aes blowfish 3des arcfour aes128-ctr aes192-ctr aes256-ctr ; do 14for c in aes blowfish 3des arcfour aes128-ctr aes192-ctr aes256-ctr ; do
diff --git a/regress/putty-kex.sh b/regress/putty-kex.sh
index 2534b8575..293885a8a 100644
--- a/regress/putty-kex.sh
+++ b/regress/putty-kex.sh
@@ -7,7 +7,8 @@ DATA=/bin/ls
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then 9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then
10 fatal "putty interop tests not enabled" 10 echo "putty interop tests not enabled"
11 exit 0
11fi 12fi
12 13
13for k in dh-gex-sha1 dh-group1-sha1 dh-group14-sha1 ; do 14for k in dh-gex-sha1 dh-group1-sha1 dh-group14-sha1 ; do
diff --git a/regress/putty-transfer.sh b/regress/putty-transfer.sh
index 6b21f3be7..9e1e1550a 100644
--- a/regress/putty-transfer.sh
+++ b/regress/putty-transfer.sh
@@ -7,7 +7,8 @@ DATA=/bin/ls
7COPY=${OBJ}/copy 7COPY=${OBJ}/copy
8 8
9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then 9if test "x$REGRESS_INTEROP_PUTTY" != "xyes" ; then
10 fatal "putty interop tests not enabled" 10 echo "putty interop tests not enabled"
11 exit 0
11fi 12fi
12 13
13# XXX support protocol 1 too 14# XXX support protocol 1 too