8000 Update to OpenSSL 1.0.2a · openssl-net/openssl-net@11f4d15 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 11f4d15

Browse files
author
Adam Caudill
committed
Update to OpenSSL 1.0.2a
1 parent 2774455 commit 11f4d15

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

ManagedOpenSsl/Core/Native.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ static Native()
153153
{
154154
var lib = Version.Library;
155155
var wrapper = Version.Wrapper;
156-
var mmf = lib.Raw & 0xfffff000;
157-
if (mmf != wrapper.Raw)
156+
if (lib.Raw < wrapper.Raw)
158157
throw new Exception(string.Format("Invalid version of {0}, expecting {1}, got: {2}",
159158
DLLNAME, wrapper, lib));
160159

@@ -225,7 +224,7 @@ public static void UninitializeThreads()
225224
#endregion
226225

227226
#region Version
228-
public const uint Wrapper = 0x10000000;
227+
public const uint Wrapper = 0x1000201F; //1.0.2a Release
229228

230229
[DllImport(DLLNAME, CallingConvention=CallingConvention.Cdecl)]
231230
public extern static string SSLeay_version(int type);

ManagedOpenSsl/Core/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public char Patch
111111
{
112112
get
113113
{
114-
var patch = (raw & 0x00000ff0) >> 4;
114+
var patch = (raw & 0x00000ff0) >> 5;
115115

116116
var a = Encoding.ASCII.GetBytes("a")[0];
117117
var x = a + patch;

native/windows/x86/libeay32.dll

251 KB
Binary file not shown.

native/windows/x86/ssleay32.dll

116 KB
Binary file not shown.

0 commit comments

Comments
 (0)
0