diff options
author | 2017-05-16 20:18:27 +0200 | |
---|---|---|
committer | 2017-05-16 20:18:27 +0200 | |
commit | 719d37397d3ec8fdb64e4b9497a414067a4fce53 (patch) | |
tree | 9fae38e766074f07e0cf234acb00e14bb2100454 /src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs | |
parent | 081c442462a21f326ff08f47ff1cd9a17c6746ea (diff) |
dont use non-blittable types in native method signatures
Diffstat (limited to 'src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs')
-rw-r--r-- | src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs b/src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs index 24f686fddc..c14fa7c827 100644 --- a/src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs +++ b/src/csharp/Grpc.Core/Internal/ServerCredentialsSafeHandle.cs @@ -53,7 +53,7 @@ namespace Grpc.Core.Internal return Native.grpcsharp_ssl_server_credentials_create(pemRootCerts, keyCertPairCertChainArray, keyCertPairPrivateKeyArray, new UIntPtr((ulong)keyCertPairCertChainArray.Length), - forceClientAuth); + forceClientAuth ? 1 : 0); } protected override bool ReleaseHandle() |