File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/MongoDB.Driver.Core/Core/Authentication/Sspi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public SecurityBufferDescriptor(SecurityBuffer[] buffers)
65
65
66
66
//Allocate memory for SecBuffer Array....
67
67
#if NETSTANDARD1_6
68
- BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf < SecurityBuffer > ( ) * NumBuffers ) ;
68
+ BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf < SecurityBuffer > ( ) * NumBuffers ) ;
69
69
#else
70
70
BufferPtr = Marshal . AllocHGlobal ( Marshal . SizeOf ( typeof ( SecurityBuffer ) ) * NumBuffers ) ;
71
71
#endif
@@ -150,7 +150,7 @@ public byte[] ToByteArray()
150
150
if ( NumBuffers == 1 )
151
151
{
152
152
#if NETSTANDARD1_6
153
- var buffer = Marshal . PtrToStructure < SecurityBuffer > ( BufferPtr ) ;
153
+ var buffer = Marshal . PtrToStructure < SecurityBuffer > ( BufferPtr ) ;
154
154
#else
155
155
var buffer = ( SecurityBuffer ) Marshal . PtrToStructure ( BufferPtr , typeof ( SecurityBuffer ) ) ;
156
156
#endif
You can’t perform that action at this time.
0 commit comments