Skip to content

Commit

Permalink
v4.17-9566-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dnobori committed Jul 16, 2015
1 parent ff49706 commit 860f743
Show file tree
Hide file tree
Showing 248 changed files with 1,038 additions and 681 deletions.
1 change: 1 addition & 0 deletions BUILD_WINDOWS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ You need to install the following software to build SoftEther VPN for Windows.

- Microsoft Windows XP, Vista, 7, 8 or later.
- Microsoft Visual Studio 2008 with the latest SP (SP1 9.0.30729.4462 QFE).
Make sure that you installed the x64 compiler and build tools.

* Note:
Visual Studio 2008 SP1 is required to build SoftEther VPN on Windows.
Expand Down
1 change: 1 addition & 0 deletions src/BUILD_WINDOWS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ You need to install the following software to build SoftEther VPN for Windows.

- Microsoft Windows XP, Vista, 7, 8 or later.
- Microsoft Visual Studio 2008 with the latest SP (SP1 9.0.30729.4462 QFE).
Make sure that you installed the x64 compiler and build tools.

* Note:
Visual Studio 2008 SP1 is required to build SoftEther VPN on Windows.
Expand Down
Binary file modified src/BuildFiles/Library/Win32_Debug/libeay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/Win32_Debug/ssleay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/Win32_Release/libeay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/Win32_Release/ssleay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/x64_Debug/libeay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/x64_Debug/ssleay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/x64_Release/libeay32.lib
Binary file not shown.
Binary file modified src/BuildFiles/Library/x64_Release/ssleay32.lib
Binary file not shown.
6 changes: 3 additions & 3 deletions src/BuildUtil/BuildUtilCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/BuildUtilMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
23 changes: 16 additions & 7 deletions src/BuildUtil/CodeSign.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down Expand Up @@ -155,7 +155,7 @@ public static class CodeSign
static object lockObj = new object();

// Digital-sign the data on the memory
public static byte[] SignMemory(byte[] srcData, string comment, bool kernelModeDriver, int cert_id)
public static byte[] SignMemory(byte[] srcData, string comment, bool kernelModeDriver, int cert_id, int sha_mode)
{
#if !BU_OSS
int i;
Expand All @@ -176,10 +176,11 @@ public static byte[] SignMemory(byte[] srcData, string comment, bool kernelModeD

try
{
out_filename = sign.ExecSign(Path.GetFileName(in_tmp_filename),
out_filename = sign.ExecSignEx(Path.GetFileName(in_tmp_filename),
kernelModeDriver,
comment,
cert_id);
cert_id,
sha_mode);
break;
}
catch (Exception ex)
Expand Down Expand Up @@ -267,7 +268,15 @@ public static void SignFile(string destFileName, string srcFileName, string comm
Con.WriteLine("Signing for '{0}'...", Path.GetFileName(destFileName));
byte[] srcData = File.ReadAllBytes(srcFileName);

byte[] destData = SignMemory(srcData, comment, kernelModeDriver, cert_id);
int sha_mode = 0;

if (srcFileName.EndsWith(".msi", StringComparison.InvariantCultureIgnoreCase))
{
sha_mode = 1;
// todo: Set 2 in future !!!
}

byte[] destData = SignMemory(srcData, comment, kernelModeDriver, cert_id, sha_mode);

try
{
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/PEUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/UnixBuildSoftwares.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/VpnBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/VpnBuilderConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
6 changes: 3 additions & 3 deletions src/BuildUtil/VpnBuilderConfigTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) 2012-2014 Daiyuu Nobori.
// Copyright (c) 2012-2014 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2014 SoftEther Corporation.
// Copyright (c) 2012-2015 Daiyuu Nobori.
// Copyright (c) 2012-2015 SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) 2012-2015 SoftEther Corporation.
//
// All Rights Reserved.
//
Expand Down
84 changes: 76 additions & 8 deletions src/BuildUtil/Web References/HvSignService/Reference.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:2.0.50727.5466
// ランタイム バージョン:2.0.50727.5485
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
Expand Down Expand Up @@ -104,7 +104,7 @@


//
// このソース コードは Microsoft.VSDesigner、バージョン 2.0.50727.5466 によって自動生成されました。
// このソース コードは Microsoft.VSDesigner、バージョン 2.0.50727.5485 によって自動生成されました。
//
#pragma warning disable 1591

Expand All @@ -118,7 +118,7 @@ namespace BuildUtil.HvSignService {


/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5420")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="SignSoap", Namespace="http://hvsigncode/")]
Expand All @@ -128,6 +128,8 @@ public partial class Sign : System.Web.Services.Protocols.SoapHttpClientProtocol

private System.Threading.SendOrPostCallback ExecSignOperationCompleted;

private System.Threading.SendOrPostCallback ExecSignExOperationCompleted;

private bool useDefaultCredentialsSetExplicitly;

/// <remarks/>
Expand Down Expand Up @@ -172,6 +174,9 @@ public Sign() {
/// <remarks/>
public event ExecSignCompletedEventHandler ExecSignCompleted;

/// <remarks/>
public event ExecSignExCompletedEventHandler ExecSignExCompleted;

/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hvsigncode/HelloWorld", RequestNamespace="http://hvsigncode/", ResponseNamespace="http://hvsigncode/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string HelloWorld() {
Expand Down Expand Up @@ -234,6 +239,43 @@ private void OnExecSignOperationCompleted(object arg) {
}
}

/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://hvsigncode/ExecSignEx", RequestNamespace="http://hvsigncode/", ResponseNamespace="http://hvsigncode/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ExecSignEx(string src_filename, bool driver_mode, string description, int cert_id, int sha_mode) {
object[] results = this.Invoke("ExecSignEx", new object[] {
src_filename,
driver_mode,
description,
cert_id,
sha_mode});
return ((string)(results[0]));
}

/// <remarks/>
public void ExecSignExAsync(string src_filename, bool driver_mode, string description, int cert_id, int sha_mode) {
this.ExecSignExAsync(src_filename, driver_mode, description, cert_id, sha_mode, null);
}

/// <remarks/>
public void ExecSignExAsync(string src_filename, bool driver_mode, string description, int cert_id, int sha_mode, object userState) {
if ((this.ExecSignExOperationCompleted == null)) {
this.ExecSignExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExecSignExOperationCompleted);
}
this.InvokeAsync("ExecSignEx", new object[] {
src_filename,
driver_mode,
description,
cert_id,
sha_mode}, this.ExecSignExOperationCompleted, userState);
}

private void OnExecSignExOperationCompleted(object arg) {
if ((this.ExecSignExCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.ExecSignExCompleted(this, new ExecSignExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}

/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
Expand All @@ -254,11 +296,11 @@ private bool IsLocalFileSystemWebService(string url) {
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5420")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void HelloWorldCompletedEventHandler(object sender, HelloWorldCompletedEventArgs e);

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5420")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class HelloWorldCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
Expand All @@ -280,11 +322,11 @@ public string Result {
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5420")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void ExecSignCompletedEventHandler(object sender, ExecSignCompletedEventArgs e);

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5420")]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ExecSignCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
Expand All @@ -304,6 +346,32 @@ public string Result {
}
}
}

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
public delegate void ExecSignExCompletedEventHandler(object sender, ExecSignExCompletedEventArgs e);

/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.5483")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class ExecSignExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {

private object[] results;

internal ExecSignExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}

/// <remarks/>
public string Result {
get {
this.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
}

#pragma warning restore 1591
Expand Down
Loading

0 comments on commit 860f743

Please sign in to comment.