From db18926414a2efa62db7f4f6d977bcfcab8d8952 Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Fri, 29 Apr 2011 11:09:45 -0700 Subject: [PATCH] fix ntru windows build --- cyassl-ntru.vcproj | 762 +++++++++++++++-------------- examples/client/client-ntru.vcproj | 398 +++++++-------- examples/server/server-ntru.vcproj | 398 +++++++-------- include/openssl/cyassl_test.h | 4 +- testsuite/testsuite-ntru.vcproj | 438 ++++++++--------- 5 files changed, 1004 insertions(+), 996 deletions(-) diff --git a/cyassl-ntru.vcproj b/cyassl-ntru.vcproj index 98bc3b05d..85e00db46 100755 --- a/cyassl-ntru.vcproj +++ b/cyassl-ntru.vcproj @@ -1,377 +1,385 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/client/client-ntru.vcproj b/examples/client/client-ntru.vcproj index de6ef3433..2620fc644 100755 --- a/examples/client/client-ntru.vcproj +++ b/examples/client/client-ntru.vcproj @@ -1,199 +1,199 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/server/server-ntru.vcproj b/examples/server/server-ntru.vcproj index 9f82252ce..cf338fd25 100755 --- a/examples/server/server-ntru.vcproj +++ b/examples/server/server-ntru.vcproj @@ -1,199 +1,199 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/include/openssl/cyassl_test.h b/include/openssl/cyassl_test.h index ef191bdab..c280d478e 100644 --- a/include/openssl/cyassl_test.h +++ b/include/openssl/cyassl_test.h @@ -188,9 +188,9 @@ static INLINE void showPeer(SSL* ssl) /* testsuite has multiple threads writing to stdout, get output message ready to write once */ - strLen = snprintf(serialMsg, 16, " serial number"); + strLen = sprintf(serialMsg, " serial number"); for (i = 0; i < sz; i++) - snprintf(serialMsg + strLen + (i*3), 4, ":%02x ", serial[i]); + sprintf(serialMsg + strLen + (i*3), ":%02x ", serial[i]); printf("%s\n", serialMsg); } diff --git a/testsuite/testsuite-ntru.vcproj b/testsuite/testsuite-ntru.vcproj index 09aac980b..3dc5cb925 100755 --- a/testsuite/testsuite-ntru.vcproj +++ b/testsuite/testsuite-ntru.vcproj @@ -1,219 +1,219 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +