Permalink
Browse files

OpenSSL.BN: Use unsafePerformIO from System.IO.Unsafe

  • Loading branch information...
1 parent 23716ee commit f11fa41fa617ce8605bbbae657e31073959fa294 @depressed-pho depressed-pho committed Mar 4, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 OpenSSL/BN.hsc
View
@@ -43,9 +43,12 @@ module OpenSSL.BN
where
import Control.Exception hiding (try)
-import Foreign
import qualified Data.ByteString as BS
+import Foreign.Marshal
+import Foreign.Ptr
+import Foreign.Storable
import OpenSSL.Utils
+import System.IO.Unsafe
#ifndef __GLASGOW_HASKELL__
import Control.Monad

0 comments on commit f11fa41

Please sign in to comment.