Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -33,9 +33,8 @@ using Mono.Security.Interface;
using Mono.Net;
using Mono.Net.Security;
using Mono.Util;
using ObjCRuntime;
using ObjCRuntimeInternal;
namespace Mono.AppleTls
{
@@ -682,7 +681,7 @@ namespace Mono.AppleTls
[DllImport (SecurityLibrary)]
extern static /* OSStatus */ SslStatus SSLSetIOFuncs (/* SSLContextRef */ IntPtr context, /* SSLReadFunc */ SslReadFunc readFunc, /* SSLWriteFunc */ SslWriteFunc writeFunc);
[MonoPInvokeCallback (typeof (SslReadFunc))]
[Mono.Util.MonoPInvokeCallback (typeof (SslReadFunc))]
static SslStatus NativeReadCallback (IntPtr ptr, IntPtr data, ref IntPtr dataLength)
{
var handle = GCHandle.FromIntPtr (ptr);
@@ -702,7 +701,7 @@ namespace Mono.AppleTls
}
}
[MonoPInvokeCallback (typeof (SslWriteFunc))]
[Mono.Util.MonoPInvokeCallback (typeof (SslWriteFunc))]
static SslStatus NativeWriteCallback (IntPtr ptr, IntPtr data, ref IntPtr dataLength)
{
var handle = GCHandle.FromIntPtr (ptr);

View File

@@ -36,7 +36,7 @@ using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using Mono.Net;
using ObjCRuntime;
using ObjCRuntimeInternal;
namespace Mono.AppleTls {

View File

@@ -1,7 +1,7 @@
#if MONO_FEATURE_APPLETLS
// Copyright 2011-2015 Xamarin Inc. All rights reserved.
using ObjCRuntime;
using ObjCRuntimeInternal;
namespace Mono.AppleTls {

View File

@@ -1,6 +1,6 @@
using System;
namespace ObjCRuntime {
namespace ObjCRuntimeInternal {
internal interface INativeObject {
IntPtr Handle {

View File

@@ -31,7 +31,7 @@ using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using ObjCRuntime;
using ObjCRuntimeInternal;
using Mono.Net;
#if MONO_FEATURE_BTLS

View File

@@ -34,7 +34,7 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
using ObjCRuntime;
using ObjCRuntimeInternal;
using Mono.Net;
namespace Mono.AppleTls {

View File

@@ -30,7 +30,7 @@
//
using System;
using System.Runtime.InteropServices;
using ObjCRuntime;
using ObjCRuntimeInternal;
using Mono.Net;
namespace Mono.AppleTls {

View File

@@ -32,7 +32,7 @@ using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Security.Cryptography.X509Certificates;
using ObjCRuntime;
using ObjCRuntimeInternal;
using Mono.Net;
namespace Mono.AppleTls {