From 249afbbfc91f8cbb9cd9e21422bae7ea34643d82 Mon Sep 17 00:00:00 2001 From: JacobBarthelmeh Date: Thu, 19 May 2022 12:11:00 -0600 Subject: [PATCH] update output directory and add psk client example --- .../wolfSSL-DTLS-PSK-Server.csproj | 10 +- .../wolfSSL-DTLS-Server.csproj | 10 +- .../wolfSSL-Example-IOCallbacks.csproj | 10 +- .../wolfSSL-TLS-Client.csproj | 10 +- .../CSharp/wolfSSL-TLS-PSK-Client/App.config | 6 + .../wolfSSL-TLS-PSK-Client.csproj | 109 ++++++++++++++++++ .../wolfSSL-TLS-PSK-Server.csproj | 10 +- .../wolfSSL-TLS-Server.csproj | 10 +- .../wolfSSL-TLS-ServerThreaded.csproj | 10 +- .../wolfSSL_CSharp/wolfSSL_CSharp.csproj | 13 ++- 10 files changed, 157 insertions(+), 41 deletions(-) create mode 100644 wrapper/CSharp/wolfSSL-TLS-PSK-Client/App.config create mode 100644 wrapper/CSharp/wolfSSL-TLS-PSK-Client/wolfSSL-TLS-PSK-Client.csproj diff --git a/wrapper/CSharp/wolfSSL-DTLS-PSK-Server/wolfSSL-DTLS-PSK-Server.csproj b/wrapper/CSharp/wolfSSL-DTLS-PSK-Server/wolfSSL-DTLS-PSK-Server.csproj index 50a590a1a..59003efa1 100755 --- a/wrapper/CSharp/wolfSSL-DTLS-PSK-Server/wolfSSL-DTLS-PSK-Server.csproj +++ b/wrapper/CSharp/wolfSSL-DTLS-PSK-Server/wolfSSL-DTLS-PSK-Server.csproj @@ -17,7 +17,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 4 @@ -26,14 +26,14 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE full x64 @@ -42,7 +42,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64\ TRACE true pdbonly @@ -84,4 +84,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-DTLS-Server/wolfSSL-DTLS-Server.csproj b/wrapper/CSharp/wolfSSL-DTLS-Server/wolfSSL-DTLS-Server.csproj index 915ed3201..0c465a8b0 100755 --- a/wrapper/CSharp/wolfSSL-DTLS-Server/wolfSSL-DTLS-Server.csproj +++ b/wrapper/CSharp/wolfSSL-DTLS-Server/wolfSSL-DTLS-Server.csproj @@ -17,7 +17,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 4 @@ -26,14 +26,14 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE full x64 @@ -43,7 +43,7 @@ 0 - ..\x64\DLL Release\ + ..\DLL Release\x64 TRACE true pdbonly @@ -85,4 +85,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-Example-IOCallbacks/wolfSSL-Example-IOCallbacks.csproj b/wrapper/CSharp/wolfSSL-Example-IOCallbacks/wolfSSL-Example-IOCallbacks.csproj index 8b9bd133e..cb72b95cf 100755 --- a/wrapper/CSharp/wolfSSL-Example-IOCallbacks/wolfSSL-Example-IOCallbacks.csproj +++ b/wrapper/CSharp/wolfSSL-Example-IOCallbacks/wolfSSL-Example-IOCallbacks.csproj @@ -17,7 +17,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 4 @@ -26,14 +26,14 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE full x64 @@ -42,7 +42,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64 TRACE true pdbonly @@ -81,4 +81,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-TLS-Client/wolfSSL-TLS-Client.csproj b/wrapper/CSharp/wolfSSL-TLS-Client/wolfSSL-TLS-Client.csproj index 2959f6f90..a5b734a0c 100644 --- a/wrapper/CSharp/wolfSSL-TLS-Client/wolfSSL-TLS-Client.csproj +++ b/wrapper/CSharp/wolfSSL-TLS-Client/wolfSSL-TLS-Client.csproj @@ -32,7 +32,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 3 @@ -41,7 +41,7 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 @@ -51,7 +51,7 @@ true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE 4 full @@ -61,7 +61,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64 TRACE true pdbonly @@ -129,4 +129,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-TLS-PSK-Client/App.config b/wrapper/CSharp/wolfSSL-TLS-PSK-Client/App.config new file mode 100644 index 000000000..4bfa00561 --- /dev/null +++ b/wrapper/CSharp/wolfSSL-TLS-PSK-Client/App.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/wrapper/CSharp/wolfSSL-TLS-PSK-Client/wolfSSL-TLS-PSK-Client.csproj b/wrapper/CSharp/wolfSSL-TLS-PSK-Client/wolfSSL-TLS-PSK-Client.csproj new file mode 100644 index 000000000..b823c0ed8 --- /dev/null +++ b/wrapper/CSharp/wolfSSL-TLS-PSK-Client/wolfSSL-TLS-PSK-Client.csproj @@ -0,0 +1,109 @@ + + + + + Debug + AnyCPU + {4F92ECF5-A1D8-4A13-AD0C-6571EB03C01C} + Exe + Properties + wolfSSL_TLS_PSK_Client + wolfSSL-TLS-PSK-Client + v4.8 + 512 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + AnyCPU + true + full + false + ..\DLL Debug\Win32\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + ..\DLL Release\Win32\ + TRACE + prompt + 4 + + + true + ..\DLL Debug\x64\ + DEBUG;TRACE + full + x64 + prompt + MinimumRecommendedRules.ruleset + true + + + ..\DLL Release\x64\ + TRACE + true + pdbonly + x64 + prompt + MinimumRecommendedRules.ruleset + true + + + + + + + + + + + + + + + + + + + False + Microsoft .NET Framework 4.8 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + + + + + + \ No newline at end of file diff --git a/wrapper/CSharp/wolfSSL-TLS-PSK-Server/wolfSSL-TLS-PSK-Server.csproj b/wrapper/CSharp/wolfSSL-TLS-PSK-Server/wolfSSL-TLS-PSK-Server.csproj index b9bdf26eb..5ff425ee0 100755 --- a/wrapper/CSharp/wolfSSL-TLS-PSK-Server/wolfSSL-TLS-PSK-Server.csproj +++ b/wrapper/CSharp/wolfSSL-TLS-PSK-Server/wolfSSL-TLS-PSK-Server.csproj @@ -17,7 +17,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 4 @@ -26,14 +26,14 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE full x64 @@ -42,7 +42,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64\ TRACE true pdbonly @@ -84,4 +84,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.csproj b/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.csproj index 7ab3a6f07..ce6518d83 100755 --- a/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.csproj +++ b/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.csproj @@ -32,7 +32,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 3 @@ -41,7 +41,7 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 @@ -51,7 +51,7 @@ true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE 4 full @@ -61,7 +61,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64\ TRACE true pdbonly @@ -129,4 +129,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL-TLS-ServerThreaded/wolfSSL-TLS-ServerThreaded.csproj b/wrapper/CSharp/wolfSSL-TLS-ServerThreaded/wolfSSL-TLS-ServerThreaded.csproj index bbbe57a4e..8febfa4a2 100644 --- a/wrapper/CSharp/wolfSSL-TLS-ServerThreaded/wolfSSL-TLS-ServerThreaded.csproj +++ b/wrapper/CSharp/wolfSSL-TLS-ServerThreaded/wolfSSL-TLS-ServerThreaded.csproj @@ -32,7 +32,7 @@ true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 3 @@ -41,7 +41,7 @@ AnyCPU pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 @@ -51,7 +51,7 @@ true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE 4 full @@ -61,7 +61,7 @@ true - ..\x64\DLL Release\ + ..\DLL Release\x64\ TRACE true pdbonly @@ -129,4 +129,4 @@ --> - \ No newline at end of file + diff --git a/wrapper/CSharp/wolfSSL_CSharp/wolfSSL_CSharp.csproj b/wrapper/CSharp/wolfSSL_CSharp/wolfSSL_CSharp.csproj index 6d5c854dc..64460aaff 100755 --- a/wrapper/CSharp/wolfSSL_CSharp/wolfSSL_CSharp.csproj +++ b/wrapper/CSharp/wolfSSL_CSharp/wolfSSL_CSharp.csproj @@ -1,5 +1,5 @@  - + Debug @@ -9,14 +9,15 @@ Properties wolfSSL.CSharp wolfSSL_CSharp - v4.5 + v4.8 512 + true full false - ..\DLL Debug\ + ..\DLL Debug\Win32\ DEBUG;TRACE prompt 3 @@ -24,14 +25,14 @@ pdbonly true - ..\DLL Release\ + ..\DLL Release\Win32\ TRACE prompt 4 true - ..\x64\DLL Debug\ + ..\DLL Debug\x64\ DEBUG;TRACE 3 full @@ -40,7 +41,7 @@ MinimumRecommendedRules.ruleset - ..\x64\DLL Release\ + ..\DLL Release\x64\ TRACE true pdbonly