HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Modulehopenssl-2.2.5Haskell2010

OpenSSL.EVP.Digest.Error

Low-level bindings to OpenSSL's EVP interface. Most users do not need this code. Check out OpenSSL.Digest for a more comfortable interface.

Synopsis
  • Packagehopenssl-2.2.5
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceError.hs
valuethrowIfZero :: String -> IO CInt -> IO ()

Most OpenSSL functions return an approximation of Bool to signify failure. This wrapper makes it easier to move the error handling to the exception layer where appropriate.