HORIZON HASKELLDocslts/ghc-9.14.x6d5fdfd2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 6d5fdfd · 2026-10-12

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.