File: SSL.hs

package info (click to toggle)
haskell-hsopenssl 0.11.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 496 kB
  • ctags: 74
  • sloc: haskell: 1,990; ansic: 349; makefile: 16
file content (16 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{-# LANGUAGE ForeignFunctionInterface #-}
module OpenSSL.SSL
    ( loadErrorStrings
    , addAllAlgorithms
    , libraryInit
    )
    where

foreign import ccall unsafe "SSL_load_error_strings"
        loadErrorStrings :: IO ()

foreign import ccall unsafe "HsOpenSSL_OpenSSL_add_all_algorithms"
        addAllAlgorithms :: IO ()

foreign import ccall unsafe "SSL_library_init"
        libraryInit :: IO ()