Skip to content

Commit ff33466

Browse files
authored
Update Client.cs
1 parent 87a708c commit ff33466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tinify/Client.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public Client(string key, string appIdentifier = null, string proxy = null)
3737
if (!RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
3838
{
3939
// TLS is extremely spotty and differs per version on MacOS
40-
ServerCertificateCustomValidationCallback = Internal.SSL.ValidationCallback;
40+
handler.ServerCertificateCustomValidationCallback = Internal.SSL.ValidationCallback;
4141
};
4242

4343
if (proxy != null)

0 commit comments

Comments
 (0)