File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ library:
28
28
- Testing.CurlRunnings.Internal.KeyValuePairs
29
29
- Testing.CurlRunnings.Internal.Payload
30
30
dependencies :
31
- - HsOpenSSL >=0.11.7
31
+ - HsOpenSSL
32
32
- aeson >=1.2.4.0
33
33
- base64-bytestring >=1.0.0.2
34
34
- bytestring >=0.10.8.2
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ import Network.HTTP.Conduit
50
50
import Network.HTTP.Simple hiding (Header )
51
51
import qualified Network.HTTP.Simple as HTTP
52
52
import qualified Network.HTTP.Types as NT
53
- import OpenSSL.Session (VerificationMode (.. ), contextSetDefaultVerifyPaths )
53
+ import OpenSSL.Session (VerificationMode (.. ))
54
54
import System.Directory
55
55
import System.Environment
56
56
import Testing.CurlRunnings.Internal
@@ -139,7 +139,7 @@ runCase state@(CurlRunningsState _ _ _ tlsCheckType) curlCase = do
139
139
-- Don't do any loading from custom locations but
140
140
-- instead use OpenSSL's default settings.
141
141
-- See https://github.com/snoyberg/http-client/issues/462
142
- { HTTP. osslSettingsLoadCerts = contextSetDefaultVerifyPaths }
142
+ { HTTP. osslSettingsLoadCerts = \ _ -> pure () }
143
143
SkipTLSCheck -> HTTP. defaultMakeContext HTTP. defaultOpenSSLSettings
144
144
{ HTTP. osslSettingsVerifyMode = VerifyNone }
145
145
You can’t perform that action at this time.
0 commit comments