[btls] Convert BTLS icalls to pinvokes by invoking them using [DllImp… (#3799)
authorZoltan Varga <vargaz@gmail.com>
Fri, 21 Oct 2016 21:29:13 +0000 (17:29 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Oct 2016 21:29:13 +0000 (17:29 -0400)
commit2fb07d6c6d5b3915ef4665391febbb7b8be09fb5
tree6c5e0315011a1f707c844a3ae171ca71db5b0ebf
parent20acd5895c2f0d661a4a9971f979f33384f6066e
[btls] Convert BTLS icalls to pinvokes by invoking them using [DllImp… (#3799)

* [btls] Convert BTLS icalls to pinvokes by invoking them using [DllImport("__Internal")], which will make it easier to redirect them to a separate dylib in the future.

* [btls] Add a --enable-dynamic-btls configure flag to enable compiling btls into a separate shared library instead of embedding it into the runtime.
45 files changed:
configure.ac
data/config.in
mcs/class/System/Makefile
mcs/class/System/Mono.Btls/MonoBtlsBio.cs
mcs/class/System/Mono.Btls/MonoBtlsError.cs
mcs/class/System/Mono.Btls/MonoBtlsKey.cs
mcs/class/System/Mono.Btls/MonoBtlsObject.cs
mcs/class/System/Mono.Btls/MonoBtlsPkcs12.cs
mcs/class/System/Mono.Btls/MonoBtlsSsl.cs
mcs/class/System/Mono.Btls/MonoBtlsSslCtx.cs
mcs/class/System/Mono.Btls/MonoBtlsX509.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Chain.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Crl.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Lookup.cs
mcs/class/System/Mono.Btls/MonoBtlsX509LookupMono.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Name.cs
mcs/class/System/Mono.Btls/MonoBtlsX509NameList.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Revoked.cs
mcs/class/System/Mono.Btls/MonoBtlsX509Store.cs
mcs/class/System/Mono.Btls/MonoBtlsX509StoreCtx.cs
mcs/class/System/Mono.Btls/MonoBtlsX509VerifyParam.cs
mono/btls/CMakeLists.txt
mono/btls/Makefile.am
mono/btls/btls-bio.c
mono/btls/btls-error.c
mono/btls/btls-key.c
mono/btls/btls-pkcs12.c
mono/btls/btls-ssl-ctx.c
mono/btls/btls-ssl.c
mono/btls/btls-util.c
mono/btls/btls-util.h
mono/btls/btls-x509-chain.c
mono/btls/btls-x509-crl.c
mono/btls/btls-x509-lookup-mono.c
mono/btls/btls-x509-lookup.c
mono/btls/btls-x509-name.c
mono/btls/btls-x509-revoked.c
mono/btls/btls-x509-store-ctx.c
mono/btls/btls-x509-store.c
mono/btls/btls-x509-verify-param.c
mono/btls/btls-x509.c
mono/metadata/Makefile.am
mono/metadata/icall-def.h
mono/metadata/icall.c
runtime/Makefile.am